Open bertsky opened 2 years ago
Thanks – that was fast!
Alas, I'm afraid there's another bug lurking here: the output in this mode looks all black. Diving in, it seems the color mode is 8 bit grayscale, but fg bg is at 1 (instead of 255). In other words, only convert 000000.png -threshold 1 -depth 1 out.png
will repair it.
Alas, I'm afraid there's another bug lurking here: the output in this mode looks all black. Diving in, it seems the color mode is 8 bit grayscale, but ~fg~ bg is at 1 (instead of 255). In other words, only
convert 000000.png -threshold 1 -depth 1 out.png
will repair it.
@mittagessen, reopen or new issue?
Sorry, I forgot about it. Let's reopen and have a look. It's probably related to the arcane image loading routines that often returned different numerical ranges than a simple np.array()
call on a PIL image.
If I use
ketos linegen
with the--legacy
option, I currently get: