Module ImportFrom alias Import alias alias alias alias ImportFrom alias alias Expr Str ClassDef bases body Expr Str Assign NameStore ListLoad Str Str Str Str Str Assign NameStore Dict Str Str Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num Num Num Num NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num If NameLoad body Assign AttributeStore NameLoad attr ListLoad Str Assign AttributeStore NameLoad attr Dict Str Str Dict Str Str TupleLoad Num Num Num NameLoad Dict Str Str TupleLoad Num Num Num NameLoad Expr Call AttributeLoad NameLoad attr If AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr Str attr If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Str If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod SubscriptLoad AttributeLoad NameLoad attr Index NameLoad AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr BinOpAdd Str AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Return decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr If AttributeLoad AttributeLoad NameLoad attr attr body If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad AttributeLoad NameLoad attr NameLoad Return Assign NameStore BinOpMult ListLoad Num Num Assign NameStore BinOpMult ListLoad Num Num Assign NameStore BinOpMult ListLoad Num Num For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore Num Assign NameStore BinOpMult ListLoad Num Num For NameStore Call AttributeLoad NameLoad attr body If CompareLt Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad Num body If CompareEq Call NameLoad BinOpDiv BinOpMod NameLoad Num Num Num body AugAssignAdd SubscriptStore NameLoad Index Num Num orelse AugAssignAdd SubscriptStore NameLoad Index Num Num If CompareEq Call NameLoad BinOpDiv BinOpDiv NameLoad Num Num Num body AugAssignAdd SubscriptStore NameLoad Index Num Num orelse AugAssignAdd SubscriptStore NameLoad Index Num Num AugAssignAdd NameStore Num Assign SubscriptStore NameLoad Index NameLoad NameLoad While BoolOpAnd CompareIn Num NameLoad UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareEq Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Num If CompareEq SubscriptLoad NameLoad Index NameLoad Num body Assign SubscriptStore NameLoad Index NameLoad Num Assign SubscriptStore NameLoad Index NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr BinOpMult NameLoad Num Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Break orelse Assign SubscriptStore NameLoad Index NameLoad Num If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad Assign NameStore BinOpMult ListLoad Num Num Assign NameStore BinOpMult ListLoad Num Num Assign NameStore BinOpMult ListLoad Num Num For NameStore NameLoad body Assign NameStore BinOpDiv BinOpMult SubscriptLoad NameLoad Index Num Num BinOpAdd SubscriptLoad NameLoad Index Num Num Assign NameStore BinOpDiv BinOpMult SubscriptLoad NameLoad Index Num Num BinOpAdd SubscriptLoad NameLoad Index Num Num If CompareLt NameLoad Num body Assign NameStore BinOpDiv Num BinOpAdd NameLoad Num If CompareLt NameLoad Num body Assign NameStore BinOpDiv Num BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad While CompareIn Num NameLoad body Assign NameStore Call NameLoad BinOpDiv Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num If CompareIs Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Num If CompareIs SubscriptLoad NameLoad Index NameLoad Num body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Call NameLoad SubscriptLoad NameLoad Index NameLoad If CompareIs Call NameLoad SubscriptLoad NameLoad Index NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num If CompareIs SubscriptLoad NameLoad Index NameLoad Num body Assign SubscriptStore NameLoad Index NameLoad Num Assign SubscriptStore NameLoad Index NameLoad Num Assign SubscriptStore NameLoad Index NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr BinOpMult NameLoad Num Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad Num Assign SubscriptStore NameLoad Index Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body Assign NameStore Num If AttributeLoad AttributeLoad NameLoad attr attr body Print BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num orelse Print BinOpMod Str SubscriptLoad NameLoad Index Num Print Str If AttributeLoad AttributeLoad NameLoad attr attr body Print BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Str Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Str Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Str orelse Print BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Index Num Str Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Index Num Str Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Index Num Str If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Print Str For NameStore AttributeLoad NameLoad attr body For NameStore SubscriptLoad NameLoad Index Num body Print BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad Str Call NameLoad SubscriptLoad NameLoad Index Num Str Call NameLoad SubscriptLoad NameLoad Index Num Str Call NameLoad SubscriptLoad NameLoad Index Num Str Call NameLoad SubscriptLoad NameLoad Index Num Str Call NameLoad Num Str Call NameLoad SubscriptLoad NameLoad Index Num Str Call NameLoad SubscriptLoad NameLoad Index Num Str Call NameLoad SubscriptLoad NameLoad Index Num Str AugAssignAdd NameStore Num If CompareEq NameLoad AttributeLoad NameLoad attr body Print Str Break Print Str Print Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpAdd NameLoad Str Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore BinOpAdd NameLoad NameLoad If BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad CompareIn Str NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Num With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad NameLoad attr Str If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad SubscriptLoad NameLoad Index Num Str Call NameLoad SubscriptLoad NameLoad Index Num Str Call NameLoad SubscriptLoad NameLoad Index Num Str orelse For NameStore AttributeLoad NameLoad attr body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad Str Call NameLoad SubscriptLoad NameLoad Index Num Str Call NameLoad SubscriptLoad NameLoad Index Num Str Call NameLoad SubscriptLoad NameLoad Index Num Str Call NameLoad SubscriptLoad NameLoad Index Num Str Call NameLoad Num Str Call NameLoad SubscriptLoad NameLoad Index Num Str Call NameLoad SubscriptLoad NameLoad Index Num Str Call NameLoad SubscriptLoad NameLoad Index Num Str AugAssignAdd NameStore Num If CompareEq NameLoad AttributeLoad NameLoad attr body Break Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Num Print Str Print BinOpAdd BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr Str For NameStore Call NameLoad NameLoad body AugAssignAdd NameStore Num If CompareEq NameLoad AttributeLoad NameLoad attr body Break Print BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Print Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Num Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign NameStore SubscriptLoad NameLoad Slice Num Num Assign NameStore SubscriptLoad NameLoad Slice Num BinOpMult Num Num Assign NameStore SubscriptLoad NameLoad Slice BinOpMult Num Num BinOpMult Num Num Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num keyword Call NameLoad Num For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index BinOpSub BinOpSub Call NameLoad AttributeLoad NameLoad attr Num NameLoad If CompareIs AttributeLoad NameLoad attr Num body Return SubscriptLoad AttributeLoad NameLoad attr Index Num orelse Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return BinOpPow Call NameLoad BinOpAdd BinOpAdd BinOpMult Num BinOpPow Call NameLoad BinOpSub SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpDiv Num Num BinOpMult Num BinOpPow Call NameLoad BinOpSub SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpDiv Num Num BinOpMult Num BinOpPow Call NameLoad BinOpSub SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpDiv Num Num BinOpDiv Num Num decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num If BoolOpAnd CompareGt NameLoad Num CompareGt NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Call NameLoad NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Call NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Str Return SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Return SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Num If AttributeLoad AttributeLoad NameLoad attr attr body Return Call AttributeLoad NameLoad attr While CompareLt Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore ListLoad For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num If CompareLt NameLoad BinOpSub SubscriptLoad NameLoad Index Str NameLoad body Assign NameStore NameLoad Break For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num SubscriptLoad NameLoad Index NameLoad If CompareLt NameLoad NameLoad body Assign NameStore NameLoad Break If NameLoad body Continue Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num If CompareLt NameLoad Num body AugAssignAdd NameStore Num orelse AugAssignSub NameStore Num Assign NameStore Num Return SubscriptLoad NameLoad Slice Num Num decorator_list decorator_list Assign NameStore Call NameLoad
N/A operator itemgetter N/A sys os argparse platform PIL Image ImageFilter N/A  Image Gradients
Module for analysing images for their 4 most
prominant colors, and creating a CSS gradient.
 Gradify N/A N/A N/A  Image Analyser
  Main class to do the analysis
   N/A BROWSER_PREFIXES N/A -webkit- -moz- -o- -ms- N/A DEMO_CMD N/A Linux Windows xdg-open %s start %s __init__ N/A N/A self black_sensitivity white_sensitivity num_colors resize uniformness webkit_only N/A 4.3 3 4 55 7 False N/A N/A N/A self MAX_COLORS num_colors N/A N/A self RESIZE_VAL resize N/A N/A self UNIFORMNESS uniformness N/A N/A self spread_quadrants True N/A N/A self pairs N/A N/A N/A self num_done 0 N/A webkit_only N/A N/A N/A self BROWSER_PREFIXES N/A -webkit- N/A N/A self IGNORED_COLORS N/A BLACK WHITE N/A col radius N/A 0 0 0 black_sensitivity N/A col radius N/A 255 255 255 white_sensitivity N/A N/A N/A self init_CLI_args N/A N/A N/A self args demo N/A N/A N/A self demo_file demo.html N/A N/A N/A N/A open N/A self demo_file w close N/A N/A N/A self args file N/A N/A N/A N/A self get_file N/A N/A self args file N/A N/A N/A self args dir N/A N/A N/A N/A self get_dir N/A N/A self args dir N/A N/A N/A N/A self args file N/A N/A N/A N/A self get_dir N/A N/A N/A self args demo N/A N/A platformName N/A N/A platform system N/A N/A platformName N/A self DEMO_CMD N/A N/A N/A N/A os system N/A N/A N/A self DEMO_CMD N/A platformName N/A self demo_file N/A N/A N/A N/A os system N/A open  N/A self demo_file N/A N/A N/A N/A self printRules N/A init_CLI_args N/A N/A self N/A N/A N/A N/A self parser N/A N/A argparse ArgumentParser N/A N/A N/A N/A self parser add_argument --single help 1 color background (no gradient) action store_true N/A N/A N/A N/A self parser add_argument --spread help Uses color's spread in each quadrant rather than it's strength: flattens bell curve of accuracy action store_true N/A N/A N/A N/A self parser add_argument -d --dir help Gradify contents of this directory N/A N/A N/A N/A self parser add_argument -f --file help Gradify single file N/A N/A N/A N/A self parser add_argument -c --classname help Specific classname of CSS to add gradients to (default is 'gradify') N/A N/A N/A N/A self parser add_argument --demo help Create example HTML file displaying results, opens when completed action store_true N/A N/A self args N/A N/A N/A self parser parse_args N/A N/A get_directions N/A N/A self fn N/A N/A N/A foo N/A N/A Image open fn N/A foo N/A N/A foo resize N/A 100 100 N/A Image ANTIALIAS N/A N/A self image foo N/A col N/A N/A self get_colors N/A N/A N/A self args single N/A N/A N/A N/A self args demo N/A N/A N/A N/A self printExampleCSS col N/A N/A N/A N/A self pairs append N/A N/A self num_done col N/A N/A quad_cols N/A N/A 0 4 N/A taken N/A N/A 0 4 N/A cols_quads N/A N/A 0 4 N/A i N/A range N/A len col N/A N/A count 0 N/A a N/A N/A 0 4 N/A pix N/A N/A foo getdata N/A N/A N/A N/A N/A self get_RGB_diff pix N/A col N/A i 4.2 N/A N/A N/A N/A int N/A N/A count 100 50 1 N/A N/A N/A a N/A 2 1 N/A N/A N/A a N/A 0 1 N/A N/A N/A int N/A N/A count 100.0 50 0 N/A N/A N/A a N/A 3 1 N/A N/A N/A a N/A 1 1 N/A count 1 N/A N/A cols_quads N/A i a N/A N/A N/A 0 taken N/A N/A N/A self args spread N/A N/A best_quad N/A N/A a index N/A max a N/A N/A N/A max a 0 N/A N/A best_quad N/A N/A taken index 0 N/A N/A N/A taken N/A best_quad 0 N/A N/A N/A taken N/A best_quad 1 N/A N/A col N/A i N/A list N/A col N/A i N/A N/A N/A N/A col N/A i append N/A best_quad 90 N/A N/A quad_cols N/A i N/A col N/A i N/A N/A N/A N/A a N/A best_quad 0 N/A N/A N/A self args spread N/A N/A quad_cols N/A N/A self calculate_spread cols_quads col N/A N/A N/A self args demo N/A N/A N/A N/A self printExampleCSS quad_cols N/A N/A N/A N/A self pairs append N/A N/A self num_done quad_cols N/A calculate_spread N/A N/A self spread_quads col N/A N/A N/A strength_spread N/A N/A quad_cols N/A N/A 0 4 N/A taken_col N/A N/A 0 4 N/A taken_quads N/A N/A 0 4 N/A quad spread_quads N/A N/A top N/A N/A N/A quad N/A 3 1.0 N/A N/A quad N/A 1 0.01 N/A left N/A N/A N/A quad N/A 2 1.0 N/A N/A quad N/A 0 0.01 N/A N/A left 1 N/A N/A left N/A 1 N/A left 0.01 N/A N/A top 1 N/A N/A top N/A 1 N/A top 0.01 N/A N/A N/A strength_spread append top N/A N/A N/A strength_spread append left N/A N/A 0 taken_col N/A N/A best_col N/A int N/A N/A N/A strength_spread index N/A max strength_spread 2 N/A N/A N/A max strength_spread 0 N/A N/A best_col N/A N/A taken_col index 0 N/A N/A N/A taken_col N/A best_col 0 N/A N/A best_quad N/A N/A N/A spread_quads N/A best_col index N/A max N/A spread_quads N/A best_col N/A N/A N/A max N/A spread_quads N/A best_col 0 N/A N/A N/A N/A N/A sys stderr write N/A str spread_quads N/A best_quad N/A N/A taken_quads index 0 N/A N/A N/A taken_quads N/A best_quad 0 N/A N/A N/A taken_quads N/A best_quad 1 N/A N/A taken_col N/A best_col 1 N/A N/A col N/A best_col N/A list N/A col N/A best_col N/A N/A N/A N/A col N/A best_col append N/A best_quad 90 N/A N/A quad_cols N/A best_col N/A col N/A best_col N/A N/A N/A spread_quads N/A best_col N/A best_quad 0 N/A N/A strength_spread N/A N/A N/A strength_spread index N/A max strength_spread 0 N/A quad_cols N/A printRules N/A N/A self N/A N/A N/A pair N/A self pairs N/A N/A i 0 N/A N/A N/A self args classname N/A N/A N/A .%s-%d { N/A N/A N/A self args classname N/A pair N/A 0 N/A N/A N/A .gradify-%d { N/A pair N/A 0 N/A background: N/A N/A N/A self args single N/A N/A N/A N/A N/A N/A N/A N/A rgb( N/A str N/A N/A pair N/A 1 N/A 0 , N/A str N/A N/A pair N/A 1 N/A 1 , N/A str N/A N/A pair N/A 1 N/A 2 ); N/A N/A N/A N/A N/A N/A N/A N/A rgb( N/A str N/A N/A N/A pair N/A 1 N/A 0 N/A 0 , N/A str N/A N/A N/A pair N/A 1 N/A 0 N/A 1 , N/A str N/A N/A N/A pair N/A 1 N/A 0 N/A 2 ); N/A N/A N/A N/A self args single N/A N/A background: N/A prefix N/A self BROWSER_PREFIXES N/A N/A color N/A pair N/A 1 N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A prefix linear-gradient( N/A str N/A color N/A 3 deg, rgba( N/A str N/A color N/A 0 , N/A str N/A color N/A 1 , N/A str N/A color N/A 2 , N/A str 1 ) 0%, rgba( N/A str N/A color N/A 0 , N/A str N/A color N/A 1 , N/A str N/A color N/A 2 ,0) 100%) N/A i 1 N/A N/A i N/A self MAX_COLORS N/A N/A ; N/A N/A , N/A } N/A get_file N/A N/A self filen N/A N/A N/A N/A self image N/A N/A Image open filen N/A N/A self imageFileName filen N/A N/A N/A self get_directions filen N/A get_dir N/A N/A self dir N/A N/A N/A dir N/A dir / N/A N/A self num_files N/A len N/A N/A os listdir dir N/A fn N/A N/A os listdir dir N/A N/A fn N/A dir fn N/A N/A N/A N/A N/A os path isfile fn N/A .jpg fn N/A N/A N/A self image N/A N/A Image open fn N/A N/A self imageFileName fn N/A N/A N/A self get_directions fn N/A N/A self num_done 1 N/A N/A N/A N/A sys stderr write N/A N/A N/A N/A Done  N/A str N/A self num_done / N/A str N/A self num_files  images
 N/A printExampleCSS N/A N/A self colors N/A N/A N/A i 0 N/A N/A open N/A self demo_file a df N/A N/A N/A N/A df write <div class='example-img-0' style='width:300px;height:300px;float:left;background: N/A N/A N/A self args single N/A N/A N/A N/A N/A sys stderr write N/A str colors N/A N/A N/A df write N/A N/A N/A N/A N/A N/A rgb( N/A str N/A colors N/A 0 , N/A str N/A colors N/A 1 , N/A str N/A colors N/A 2 ); N/A N/A prefix N/A self BROWSER_PREFIXES N/A N/A color colors N/A N/A N/A N/A df write N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A prefix linear-gradient( N/A str N/A color N/A 3 deg, rgba( N/A str N/A color N/A 0 , N/A str N/A color N/A 1 , N/A str N/A color N/A 2 , N/A str 1 ) 0%, rgba( N/A str N/A color N/A 0 , N/A str N/A color N/A 1 , N/A str N/A color N/A 2 ,0) 100%) N/A i 1 N/A N/A i N/A self MAX_COLORS N/A N/A N/A N/A N/A df write , N/A N/A N/A df write ; N/A N/A N/A df write '></div> N/A N/A N/A df write N/A N/A <div class='example-img-0' style='width:300px;height:300px;float:left;'><img src=' N/A self imageFileName ' style='width:300px;float:left;height:300px;' class='blah'/> N/A N/A N/A df write </div> N/A printShowCase N/A N/A self colors N/A N/A N/A i 0 N/A <div class='example-container'> N/A N/A N/A <div class='grad lol- N/A str N/A self numDone '> N/A color N/A reversed colors N/A N/A i 1 N/A N/A i N/A self MAX_COLORS N/A N/A N/A N/A N/A </div><img src=' N/A self imageFileName ' class='photo'/> N/A </div> N/A get_colors N/A N/A self N/A N/A N/A N/A self image N/A N/A N/A self image resize N/A 55 55 N/A Image ANTIALIAS N/A h N/A N/A N/A self image filter N/A ImageFilter BLUR N/A h N/A N/A h histogram N/A N/A self colors N/A N/A r N/A h N/A 0 256 N/A g N/A h N/A 256 N/A 256 2 N/A b N/A h N/A N/A 256 2 N/A 256 3 N/A N/A self ranked_colors N/A sorted N/A N/A N/A self image getcolors N/A N/A N/A N/A self image size N/A 0 N/A N/A N/A self image size N/A 1 key N/A itemgetter 0 N/A i N/A range N/A len N/A self ranked_colors N/A N/A N/A N/A N/A self colors append N/A N/A self ranked_colors N/A N/A N/A N/A len N/A self ranked_colors 1 i N/A N/A N/A self MAX_COLORS 1 N/A N/A N/A N/A self colors N/A 0 N/A N/A N/A N/A self findBestColors N/A get_RGB_diff N/A N/A self old new N/A N/A N/A N/A N/A abs N/A N/A N/A 1.4 N/A N/A abs N/A N/A old N/A 0 N/A new N/A 0 N/A 1 2.0 N/A 0.8 N/A N/A abs N/A N/A old N/A 1 N/A new N/A 1 N/A 1 2.0 N/A 0.8 N/A N/A abs N/A N/A old N/A 2 N/A new N/A 2 N/A 1 2.0 N/A 1 2.0 N/A find_single_color N/A N/A self N/A N/A N/A i N/A range N/A len N/A self colors N/A N/A diffB N/A N/A self get_RGB_diff N/A N/A N/A self IGNORED_COLORS N/A BLACK N/A col N/A N/A N/A self colors N/A i N/A 1 N/A diffW N/A N/A self get_RGB_diff N/A N/A N/A self IGNORED_COLORS N/A WHITE N/A col N/A N/A N/A self colors N/A i N/A 1 N/A N/A N/A diffB 4 N/A diffW 3.5 N/A N/A N/A N/A N/A sys stderr write N/A N/A str diffB N/A N/A N/A N/A sys stderr write N/A N/A str N/A N/A N/A self colors N/A i N/A 1 N/A N/A N/A N/A self colors N/A i N/A 1 N/A N/A N/A N/A self colors N/A 0 N/A 1 N/A findBestColors N/A N/A self N/A N/A N/A selectedColors N/A N/A bad_color False N/A sensitivity N/A self UNIFORMNESS N/A ignored_radius 0 N/A N/A N/A self args single N/A N/A N/A N/A self find_single_color N/A N/A N/A len selectedColors N/A self MAX_COLORS N/A N/A selectedColors N/A N/A i N/A range N/A len N/A self colors N/A N/A bad_color False N/A N/A col col_dict N/A N/A N/A self IGNORED_COLORS iteritems N/A N/A diff N/A N/A self get_RGB_diff N/A col_dict N/A col N/A N/A N/A self colors N/A i N/A 1 N/A N/A diff N/A N/A col_dict N/A radius ignored_radius N/A N/A bad_color True N/A N/A j N/A range N/A len selectedColors N/A N/A diff N/A N/A self get_RGB_diff N/A N/A N/A self colors N/A i N/A 1 N/A selectedColors N/A j N/A N/A diff sensitivity N/A N/A bad_color True N/A N/A bad_color N/A N/A N/A N/A N/A selectedColors append N/A N/A N/A self colors N/A i N/A 1 N/A N/A ignored_radius 2 N/A N/A ignored_radius 1 N/A N/A sensitivity 1 N/A ignored_radius 0 N/A N/A selectedColors N/A 0 4 N/A N/A N/A foo N/A Gradify