Module TryExcept body Import alias handlers ExceptHandler type NameLoad body Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias alias TryExcept body ImportFrom alias Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Return Num Return AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Return Num Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Return Call NameLoad GeneratorExp BinOpMult NameLoad Num comprehension NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq NameLoad Str body Assign NameStore TupleLoad Num Num Num Num orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body If CompareEq SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Str body Raise Call NameLoad Str handlers ExceptHandler type NameLoad body Pass Assign NameStore Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If CompareEq SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Str body TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr If NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Call NameLoad Call NameLoad NameLoad Num Call NameLoad Call NameLoad NameLoad Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareGt NameLoad Num body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num Assign NameStore BinOpSub NameLoad Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BinOpMod BinOpDiv NameLoad Num Num body Assign NameStore TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore TupleLoad BinOpMult BinOpSub SubscriptLoad NameLoad Index Num Num Num BinOpMult BinOpSub SubscriptLoad NameLoad Index Num Num Num orelse Assign NameStore NameLoad Assign NameStore TupleLoad BinOpMult BinOpSub SubscriptLoad NameLoad Index Num Num Num BinOpMult BinOpSub SubscriptLoad NameLoad Index Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Num Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore NameLoad Assign NameStore BoolOpOr NameLoad AttributeLoad NameLoad attr TryExcept body If CompareEq SubscriptLoad NameLoad Index NameLoad Str body Assign NameStore ListLoad AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Assign NameStore ListLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr BoolOpOr NameLoad ListLoad attr If BoolOpAnd CompareEq SubscriptLoad NameLoad Index NameLoad Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore Str orelse If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore Str orelse Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return TupleLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad TupleLoad Call NameLoad BinOpAdd NameLoad NameLoad Call NameLoad BinOpAdd NameLoad NameLoad Call AttributeLoad NameLoad attr Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body If CompareGtE AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body If BoolOpAnd NameLoad UnaryOpNot NameLoad body Raise Call NameLoad BinOpAdd Str Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareLt AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num If CompareEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list
N/A N/A N/A N/A cv N/A N/A N/A ImportError N/A N/A cv2.cv cv colour Color thumbor.engines BaseEngine pexif JpegFile ExifSegment N/A N/A thumbor.ext.filters _composite N/A FILTERS_AVAILABLE True N/A N/A N/A ImportError N/A N/A FILTERS_AVAILABLE False N/A FORMATS N/A .jpg .jpeg .gif .png JPEG JPEG GIF PNG Engine N/A BaseEngine N/A image_depth N/A N/A self N/A N/A N/A N/A N/A self image None N/A N/A 8 N/A N/A N/A N/A cv GetImage N/A self image depth N/A property image_channels N/A N/A self N/A N/A N/A N/A N/A self image None N/A N/A 3 N/A N/A N/A self image channels N/A property parse_hex_color N/A N/A cls color N/A N/A N/A N/A N/A color N/A N/A N/A Color color get_rgb N/A N/A tuple N/A N/A c 255 N/A c N/A reversed color N/A N/A N/A Exception N/A N/A None N/A classmethod gen_image N/A N/A self size color_value N/A N/A N/A img0 N/A N/A cv CreateImage size N/A self image_depth N/A self image_channels N/A N/A color_value transparent N/A N/A color N/A 255 255 255 255 N/A N/A color N/A N/A self parse_hex_color color_value N/A N/A color N/A N/A N/A ValueError N/A Color %s is not valid. color_value N/A N/A N/A cv Set img0 color N/A img0 N/A create_image N/A N/A self buffer N/A N/A N/A N/A N/A N/A N/A FORMATS N/A N/A self extension GIF N/A N/A N/A ValueError opencv doesn't support gifs N/A N/A N/A KeyError N/A N/A N/A imagefiledata N/A N/A cv CreateMatHeader 1 N/A len buffer N/A cv CV_8UC1 N/A N/A N/A cv SetData imagefiledata buffer N/A len buffer N/A img0 N/A N/A cv DecodeImageM imagefiledata N/A cv CV_LOAD_IMAGE_UNCHANGED N/A N/A N/A FORMATS N/A N/A self extension JPEG N/A N/A N/A N/A info N/A N/A N/A N/A JpegFile fromString buffer get_exif N/A info N/A N/A N/A self exif N/A info data N/A N/A self exif_marker N/A info marker N/A N/A N/A Exception N/A N/A N/A img0 N/A size N/A N/A self N/A N/A N/A N/A N/A cv GetSize N/A self image N/A property normalize N/A N/A self N/A N/A N/A N/A resize N/A N/A self width height N/A N/A N/A thumbnail N/A N/A cv CreateImage N/A N/A int N/A round width 0 N/A int N/A round height 0 N/A self image_depth N/A self image_channels N/A N/A N/A cv Resize N/A self image thumbnail N/A cv CV_INTER_AREA N/A N/A self image thumbnail N/A crop N/A N/A self left top right bottom N/A N/A N/A new_width N/A right left N/A new_height N/A bottom top N/A cropped N/A N/A cv CreateImage N/A new_width new_height N/A self image_depth N/A self image_channels N/A src_region N/A N/A cv GetSubRect N/A self image N/A left top new_width new_height N/A N/A N/A cv Copy src_region cropped N/A N/A self image cropped N/A rotate N/A N/A self degrees N/A N/A N/A N/A degrees 180 N/A N/A N/A N/A cv Flip N/A self image None -1 N/A degrees N/A degrees 180 N/A img N/A self image N/A size N/A N/A cv GetSize img N/A N/A N/A degrees 90 2 N/A N/A new_size N/A N/A size N/A 1 N/A size N/A 0 N/A center N/A N/A N/A N/A size N/A 0 1 0.5 N/A N/A N/A size N/A 0 1 0.5 N/A N/A new_size size N/A center N/A N/A N/A N/A size N/A 0 1 0.5 N/A N/A N/A size N/A 1 1 0.5 N/A mapMatrix N/A N/A cv CreateMat 2 3 N/A cv CV_64F N/A N/A N/A cv GetRotationMatrix2D center degrees 1.0 mapMatrix N/A dst N/A N/A cv CreateImage new_size N/A self image_depth N/A self image_channels N/A N/A N/A cv SetZero dst N/A N/A N/A cv WarpAffine img dst mapMatrix N/A N/A self image dst N/A flip_vertically N/A N/A self N/A N/A N/A N/A N/A cv Flip N/A self image None 1 N/A flip_horizontally N/A N/A self N/A N/A N/A N/A N/A cv Flip N/A self image None 0 N/A read N/A N/A self extension quality N/A None None N/A N/A N/A quality None N/A N/A quality N/A N/A N/A self context config QUALITY N/A options None N/A extension N/A extension N/A self extension N/A N/A N/A N/A N/A FORMATS N/A extension JPEG N/A N/A options N/A N/A cv CV_IMWRITE_JPEG_QUALITY quality N/A N/A N/A KeyError N/A N/A options N/A N/A cv CV_IMWRITE_JPEG_QUALITY quality N/A data N/A N/A N/A N/A cv EncodeImage extension N/A self image N/A options N/A tostring N/A N/A N/A N/A FORMATS N/A extension JPEG N/A N/A N/A self context config PRESERVE_EXIF_INFO N/A N/A N/A hasattr self exif N/A N/A img N/A N/A JpegFile fromString data N/A N/A N/A N/A img _segments insert 0 N/A ExifSegment N/A self exif_marker None N/A self exif rw N/A data N/A N/A img writeString N/A data N/A set_image_data N/A N/A self data N/A N/A N/A N/A N/A cv SetData N/A self image data N/A image_data_as_rgb N/A N/A self update_image N/A True N/A N/A N/A N/A self image_channels 4 N/A N/A mode BGRA N/A N/A N/A N/A self image_channels 3 N/A N/A mode BGR N/A N/A mode BGR N/A rgb_copy N/A N/A cv CreateImage N/A N/A N/A self image width N/A N/A self image height 8 3 N/A N/A N/A cv CvtColor N/A self image rgb_copy N/A cv CV_GRAY2BGR N/A N/A self image rgb_copy N/A N/A mode N/A N/A N/A self image tostring N/A draw_rectangle N/A N/A self x y width height N/A N/A N/A N/A N/A cv Rectangle N/A self image N/A N/A int x N/A int y N/A N/A int N/A x width N/A int N/A y height N/A N/A cv Scalar 255 255 255 1.0 N/A convert_to_grayscale N/A N/A self N/A N/A N/A N/A N/A self image_channels 3 N/A N/A grayscaled N/A N/A cv CreateImage N/A N/A N/A self image width N/A N/A self image height N/A self image_depth 1 N/A N/A N/A cv CvtColor N/A self image grayscaled N/A cv CV_BGRA2GRAY N/A N/A self image grayscaled N/A paste N/A N/A self other_engine pos merge N/A True N/A N/A N/A merge N/A FILTERS_AVAILABLE N/A N/A N/A RuntimeError N/A You need filters enabled to use paste with merge. Please reinstall  thumbor with proper compilation of its filters. N/A N/A N/A self enable_alpha N/A N/A N/A other_engine enable_alpha N/A sz N/A self size N/A other_size N/A other_engine size N/A N/A mode data N/A N/A self image_data_as_rgb N/A N/A other_mode other_data N/A N/A other_engine image_data_as_rgb N/A imgdata N/A N/A _composite apply mode data N/A sz N/A 0 N/A sz N/A 1 other_data N/A other_size N/A 0 N/A other_size N/A 1 N/A pos N/A 0 N/A pos N/A 1 merge N/A N/A N/A self set_image_data imgdata N/A enable_alpha N/A N/A self N/A N/A N/A N/A N/A self image_channels 4 N/A N/A with_alpha N/A N/A cv CreateImage N/A N/A N/A self image width N/A N/A self image height N/A self image_depth 4 N/A N/A N/A self image_channels 3 N/A N/A N/A N/A cv CvtColor N/A self image with_alpha N/A cv CV_BGR2BGRA N/A N/A N/A N/A cv CvtColor N/A self image with_alpha N/A cv CV_GRAY2BGRA N/A N/A self image with_alpha N/A N/A