σ <Χο[c@sddlmZmZdad„Zd„Zdejfd„ƒYZd„Z ej ej eeƒej ej e ƒej ej dƒdS( i(tImaget ImageFilecCs |adS(s_ Install application-specific BUFR image handler. :param handler: Handler object. N(t_handler(thandler((s7/tmp/pip-build-SKekGm/pillow/PIL/BufrStubImagePlugin.pytregister_handlerscCs|d dkp|d dkS(NitBUFRtZCZC((tprefix((s7/tmp/pip-build-SKekGm/pillow/PIL/BufrStubImagePlugin.pyt_acceptstBufrStubImageFilecBs&eZdZdZd„Zd„ZRS(RcCs~|jjƒ}t|jjdƒƒs6tdƒ‚n|jj|ƒd|_d|_|jƒ}|rz|j |ƒndS(NisNot a BUFR filetFi(ii( tfpttellRtreadt SyntaxErrortseektmodet_sizet_loadtopen(tselftoffsettloader((s7/tmp/pip-build-SKekGm/pillow/PIL/BufrStubImagePlugin.pyt_open's   cCstS(N(R(R((s7/tmp/pip-build-SKekGm/pillow/PIL/BufrStubImagePlugin.pyR8s(t__name__t __module__tformattformat_descriptionRR(((s7/tmp/pip-build-SKekGm/pillow/PIL/BufrStubImagePlugin.pyR "s cCsBtdkstddƒ r+tdƒ‚ntj|||ƒdS(NRtsavesBUFR save handler not installed(RtNonethasattrtIOErrorR(timR tfilename((s7/tmp/pip-build-SKekGm/pillow/PIL/BufrStubImagePlugin.pyt_save<ss.bufrN(tRRRRRRt StubImageFileR R"t register_openRt register_savetregister_extension(((s7/tmp/pip-build-SKekGm/pillow/PIL/BufrStubImagePlugin.pyt s