Module ImportFrom alias Import alias Import alias Assign NameStore Num FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Num Num Assign NameStore ListLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num If UnaryOpNot NameLoad body Break Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str TupleLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr GeneratorExp Call NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Delete NameDel Assign NameStore Num While NameLoad body If CompareGt BinOpMult NameLoad Num Call NameLoad NameLoad body Break Assign NameStore SubscriptLoad NameLoad Slice BinOpMult NameLoad Num BinOpMult BinOpAdd NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list If CompareEq NameLoad Str body If CompareEq Str SubscriptLoad AttributeLoad NameLoad attr Index Num body Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num orelse Expr Call NameLoad AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num
N/A PIL Image N/A sys N/A rs N/A rowstride 255 encode N/A N/A input output_filename N/A N/A N/A Encodes the input data with reed-solomon error correction in 223 byte
    blocks, and outputs each block along with 32 parity bytes to a new file by
    the given filename.

    input is a file-like object

    The outputted image will be in png format, and will be 255 by x pixels with
    one color channel. X is the number of 255 byte blocks from the input. Each
    block of data will be one row, therefore, the data can be recovered if no
    more than 16 pixels per row are altered.
     N/A coder N/A N/A rs RSCoder 255 223 N/A output N/A N/A True N/A N/A block N/A N/A input read 223 N/A N/A block N/A N/A N/A code N/A N/A coder encode block N/A N/A N/A output append code N/A N/A N/A N/A sys stderr write . N/A N/A N/A N/A sys stderr write N/A out N/A N/A Image new L N/A rowstride N/A len output N/A N/A N/A out putdata N/A N/A join output N/A N/A N/A out save output_filename N/A decode N/A N/A input_filename N/A N/A N/A coder N/A N/A rs RSCoder 255 223 N/A input N/A N/A Image open input_filename N/A data N/A N/A join N/A N/A chr x N/A x N/A N/A input getdata N/A input N/A blocknum 0 N/A True N/A N/A N/A N/A blocknum 255 N/A len data N/A N/A N/A rowdata N/A data N/A N/A blocknum 255 N/A N/A blocknum 1 255 N/A decoded N/A N/A coder decode rowdata N/A blocknum 1 N/A N/A N/A N/A sys stdout write N/A str decoded N/A N/A N/A N/A sys stderr write . N/A N/A N/A N/A sys stderr write N/A N/A N/A __name__ __main__ N/A N/A N/A -d N/A N/A sys argv N/A 1 N/A N/A N/A decode N/A N/A sys argv N/A 2 N/A N/A N/A encode N/A sys stdin N/A N/A sys argv N/A 1