-
Notifications
You must be signed in to change notification settings - Fork 125
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
Other input formats? #480
Comments
Maybe work on #376 might help this (or vice versa)? |
It is definitely related, at least for internal code structure matters. |
I would also be interested in support for GIF and BMP as input formats. |
what do you want to optimize on BMP format, that has no compression? |
I want to convert them to PNG, then optimize them. It can be done with sequential commands ( |
@Vasilich FYI, BMP has optional simple compression. 🙇🏾♂️ |
Hello, I used to use optipng on the output of long image processing pipelines and when doing so, I chose the simplest possible interchange format to avoid any useless encoding cost.
Usually, it was PPM (since I knew my input didn't have an alpha channel).
Would it be possible for oxipng to support at least one such format? Netpbm would probably be the most suitable and the image crate seems to have support for some of them (https://docs.rs/image/latest/image/codecs/pnm/index.html).
For an idea of the "cost" of using PNG in this situation (multiplied by num_images / num_cpu):
The text was updated successfully, but these errors were encountered: