³ò <]Dc@s`ddkZyeiiZWn(ej oddkZeiZnXdd„Zd„ZdS(iÿÿÿÿNcCs^tƒ\}}tid||dd|dddd@dƒ}|o|i|ƒ}n|S(NtRGBtrawtBGRiiiüÿÿÿiÿÿÿÿ(tgrabbertImaget fromstringtcrop(tbboxtsizetdatatim((s ImageGrab.pyctgrab.s "cCs^d}tii|ƒ}ti|ƒo2ddk}ddk}|i|i|ƒƒSn|S(Niiÿÿÿÿ(Rtcoret grabclipboardt isStringTypetBmpImagePlugintStringIOt DibImageFile(tdebugR RR((s ImageGrab.pycR As ( RR t grabscreenRtAttributeErrort _grabscreenR tNoneR (((s ImageGrab.pycss