Module Expr Str Import alias Import alias FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore TupleLoad NameLoad NameLoad NameLoad If CompareEq NameLoad TupleLoad Num Num Num body Return Num orelse If CompareEq NameLoad TupleLoad Num Num Num body Return Num orelse Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list Assign NameStore ListLoad If NameLoad body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Slice orelse For NameStore NameLoad body Assign NameStore BinOpMult ListLoad Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr ListComp Call NameLoad NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore NameStore Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad Call NameLoad NameLoad SubscriptLoad NameLoad Index Str decorator_list
N/A N/A Test utilities.
 N/A os N/A png _make_pixel_array N/A N/A pixels greyscale N/A N/A N/A     Returns a list of lists. Each list contains 0 and/or 1.
    0 == black, 1 == white.

    `greyscale`
        Indiciates if this function must convert RGB colors into black/white.
     bw_color N/A N/A r g b N/A N/A N/A rgb N/A r g b N/A N/A rgb N/A 0 0 0 N/A N/A 0 N/A N/A N/A rgb N/A 255 255 255 N/A N/A 1 N/A N/A N/A ValueError N/A N/A Unexpected RGB tuple: {0}) format rgb N/A N/A res N/A N/A greyscale N/A N/A row pixels N/A N/A N/A N/A res append N/A list N/A row N/A N/A N/A row pixels N/A N/A it N/A N/A N/A iter row 3 N/A N/A N/A res append N/A N/A bw_color r g b N/A N/A r g b N/A zip it N/A res N/A get_reference_filename N/A N/A filename N/A N/A N/A     Returns an absolute path to the "reference" filename.
     N/A N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ N/A N/A ref/{} format filename N/A get_png_info N/A N/A N/A kw N/A N/A     Returns the width, height and the pixels of the provided PNG file.
     N/A reader N/A N/A png Reader kw N/A N/A w h pixels meta N/A N/A reader asDirect N/A N/A w h N/A _make_pixel_array pixels N/A meta N/A greyscale N/A