Skip to content

Hextool2#2

Open
JohnDorsey wants to merge 4 commits intomainfrom
hextool2
Open

Hextool2#2
JohnDorsey wants to merge 4 commits intomainfrom
hextool2

Conversation

@JohnDorsey
Copy link
Contributor

change imageTools to separate out io, make the output formatting kwargs more straightforward to use, allow file output and console output to be formatted separately, and allow consolidated output to a single file.

Pillow-related errors are now handled (int not subscriptable, etc.).
printing can be turned off.
a single output file can be specified for all processed PNGs.

changes to existing methods:
  save_int8rgb_tuples_as_half_hex:
    deprecated
  process_png_files:
    -output files are no longer put in a subfolder of outputs/ with the
    same name as the input file's containing folder.
    -The name of the input file's containing folder is no longer included in
    the output file.
    -"line_length" kwarg is now "console_line_length" and "file_line_length"
    -"create_files" kwarg is now "do_file_output"
    -"file_delimiter" and "file_decoration" kwargs have been replaced with
    a complete set of four kwargs for delimiters and decoration for
    console and file outputs separately. The default decoration for inside
    files has changed.
this newer version should not have been included in the previous commit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant