Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults Num body Assign AttributeStore NameLoad attr BinOpAdd BinOpMult Call NameLoad NameLoad TupleLoad Num BinOpMult BinOpSub Num Call NameLoad NameLoad TupleLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num body For NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore BinOpRShift BinOpSub NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad For NameStore ListLoad TupleLoad BinOpAdd NameLoad Num NameLoad TupleLoad BinOpAdd NameLoad Num NameLoad TupleLoad BinOpSub NameLoad Num BinOpAdd NameLoad Num TupleLoad NameLoad BinOpAdd NameLoad Num TupleLoad BinOpAdd NameLoad Num BinOpAdd NameLoad Num TupleLoad NameLoad BinOpAdd NameLoad Num body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad BinOpAdd Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Num Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr AttributeLoad NameLoad attr keyword Num Assign NameStore TupleLoad BinOpMult SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr BinOpMult SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad Num SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr body For NameStore Call NameLoad Num SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad BinOpAdd NameLoad AttributeLoad NameLoad attr BinOpAdd NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpPow BinOpDiv SubscriptLoad AttributeLoad NameLoad attr Index Num Num Num Assign NameStore BinOpMult Num BinOpSub Num NameLoad Assign TupleStore NameStore NameStore TupleLoad BinOpMult BinOpAdd NameLoad NameLoad AttributeLoad NameLoad attr BinOpMult BinOpAdd NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMult BinOpMult AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad BinOpAdd NameLoad NameLoad BinOpAdd NameLoad NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr keyword Num Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore BinOpDiv BinOpSub NameLoad BinOpMult SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Num Assign NameStore BinOpDiv BinOpSub NameLoad BinOpMult SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Num Return Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad BinOpAdd NameLoad BinOpMult SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr BinOpAdd NameLoad BinOpMult SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num Num Num Num Num Num body Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad Num NameLoad Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str Str Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body ImportFrom alias Assign NameStore Call NameLoad Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Lambda arguments args NameParam defaults Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str NameLoad For NameStore NameLoad body Expr Call AttributeLoad Call AttributeLoad Call NameLoad keyword Num attr NameLoad attr Print NameLoad
N/A N/A 
halftone.py

Created by FI$H 2000 on 2012-08-23.
Copyright (c) 2012 Objects In Space And Time, LLC. All rights reserved.
 PIL Image PIL ImageDraw PIL ImageStat instakit.utils pipeline instakit.utils.gcr gcr N/A N/A instakit.processors.ext.halftone Atkinson N/A N/A N/A ImportError N/A Atkinson N/A object N/A __init__ N/A N/A self threshold N/A 128.0 N/A N/A N/A self threshold_matrix N/A N/A N/A int threshold N/A 0 N/A N/A 256 N/A int threshold N/A 255 N/A process N/A N/A self img N/A N/A N/A img N/A N/A img convert L N/A y N/A xrange N/A N/A img size N/A 1 N/A N/A x N/A xrange N/A N/A img size N/A 0 N/A N/A old N/A N/A img getpixel N/A x y N/A new N/A N/A self threshold_matrix N/A old N/A err N/A N/A old new 3 N/A N/A N/A img putpixel N/A x y new N/A nxy N/A N/A N/A x 1 y N/A N/A x 2 y N/A N/A x 1 N/A y 1 N/A x N/A y 1 N/A N/A x 1 N/A y 1 N/A x N/A y 2 N/A N/A N/A N/A N/A N/A img putpixel nxy N/A N/A N/A img getpixel nxy err N/A N/A N/A IndexError N/A N/A N/A img N/A N/A DotScreen N/A object N/A __init__ N/A N/A self sample scale angle N/A 1 2 0 N/A N/A N/A self sample sample N/A N/A self scale scale N/A N/A self angle angle N/A process N/A N/A self img N/A N/A N/A origsize N/A img size N/A img N/A N/A N/A N/A img convert L rotate N/A self angle expand 1 N/A size N/A N/A N/A N/A img size N/A 0 N/A self scale N/A N/A N/A img size N/A 1 N/A self scale N/A halftone N/A N/A Image new L size N/A dotscreen N/A N/A ImageDraw Draw halftone N/A x N/A xrange 0 N/A N/A img size N/A 0 N/A self sample N/A N/A y N/A xrange 0 N/A N/A img size N/A 0 N/A self sample N/A N/A cropbox N/A N/A img crop N/A x y N/A x N/A self sample N/A y N/A self sample N/A stat N/A N/A ImageStat Stat cropbox N/A diameter N/A N/A N/A N/A stat mean N/A 0 255 0.5 N/A edge N/A 0.5 N/A 1 diameter N/A N/A xpos ypos N/A N/A N/A x edge N/A self scale N/A N/A y edge N/A self scale N/A boxedge N/A N/A N/A self sample diameter N/A self scale N/A N/A N/A dotscreen ellipse N/A xpos ypos N/A xpos boxedge N/A ypos boxedge fill 255 N/A halftone N/A N/A halftone rotate N/A N/A self angle expand 1 N/A N/A halfwidth halfheight N/A halftone size N/A xx N/A N/A halfwidth N/A N/A origsize N/A 0 N/A self scale 2 N/A yy N/A N/A halfheight N/A N/A origsize N/A 1 N/A self scale 2 N/A N/A N/A halftone crop N/A xx yy N/A xx N/A N/A origsize N/A 0 N/A self scale N/A yy N/A N/A origsize N/A 1 N/A self scale N/A N/A CMYKDotScreen N/A object N/A __init__ N/A N/A self gcr sample scale thetaC thetaM thetaY thetaK N/A 20 10 10 0 15 30 45 N/A N/A N/A self gcr N/A max N/A min 100 gcr 0 N/A N/A self overprinter N/A N/A pipeline ChannelFork DotScreen mode CMYK N/A N/A N/A N/A self overprinter update N/A C M Y K N/A DotScreen angle thetaC sample sample scale scale N/A DotScreen angle thetaM sample sample scale scale N/A DotScreen angle thetaY sample sample scale scale N/A DotScreen angle thetaK sample sample scale scale N/A process N/A N/A self img N/A N/A N/A N/A N/A N/A self overprinter process N/A gcr img N/A self gcr N/A N/A N/A N/A __name__ __main__ N/A instakit.utils static N/A image_paths N/A map N/A N/A N/A image_file N/A N/A N/A static path img image_file N/A N/A static listfiles img N/A image_inputs N/A map N/A N/A N/A image_path N/A N/A N/A N/A N/A Image open image_path convert RGB image_paths N/A image_input image_inputs N/A N/A N/A N/A N/A N/A N/A Atkinson threshold 128.0 process image_input show N/A image_paths