-
Notifications
You must be signed in to change notification settings - Fork 229
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
ERROR: Unknown extension to write to: .pbm #557
Comments
|
You can find the full list of supported output format here: Lines 69 to 95 in aad2083
|
I thought JPEG-XL did not support single bit images (which FLIF does a nice job of compressing) |
JPEG XL does support 1-bit too. It's probably even better for them, since it has JBIG2-style "pattern" features. The current JXL encoder hasn't really been tested or optimized much for that particular case though. FLIF doesn't save .pbm, you can save as .pgm and then convert it with e.g. ImageMagick. |
My tests so far indicate that the current JPEG XL encoder did not do as well on single bit images as FLIF, and I can't test that round trip is lossless because there is a bug during decoding (which I previously reported to Jan, with you cc'd). I have given up on JPEG XL until this gets fixed, and it won't be included in my upcoming paper on single bit compression as a result. David |
Compressed a single bit PBM image:
% FLIF-0.3/src/flif x.pbm x.flif
failed on decompress:
% FLIF-0.3/src/flif -d x.flif x_rt.pbm
ERROR: Unknown extension to write to: .pbm
The text was updated successfully, but these errors were encountered: