Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Shift the image factory code to work with the output parameter #395

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ikelos
Copy link

@ikelos ikelos commented Apr 3, 2025

The code for handling an image factory and the various drawers doesn't work unless the output is sent to stdout. This slightly shifts ordering of processing, to ensure that when outputting to a file, the various command line options and flags are taken into consideration.

I don't know if I was missing some reason that the output parameter always skipped all other options, but it was quite confusing, so I looked into it and it seemed like this mechanism could work? It should have minimal impact on the ascii output, but it does now require that the ascii flag is specified and will always output ascii if it is. Hopefully that's ok...

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