Skip to content

Conversation

@ikelos
Copy link
Contributor

@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...

@bartTC bartTC merged commit 669f74b into lincolnloop:main Jul 23, 2025
@bartTC bartTC mentioned this pull request Jul 23, 2025
@bartTC
Copy link
Member

bartTC commented Jul 23, 2025

@ikelos continued this in #405. You see that it won't work, as moving the image factory up, requires PIL to be present. However its an optional dependency.

I'll close it for now, feel free to fix and reopen it.

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.

2 participants