-
-
Notifications
You must be signed in to change notification settings - Fork 764
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
Progresssive JPEG export? #213
Comments
Jimp relies on https://github.com/eugeneware/jpeg-js for jpeg encoding/decoding. Progressive JPEG export would need to be added there, and then an option for progressive export would need to be added to Jimp. Would be great to have! |
Have a look at imagemin. I use jimp + imagemin since a while |
They rely on https://github.com/mozilla/mozjpeg, which isn't a pure-JS implementation of the JPEG encoder. Unfortunately, won't work for Jimp. |
You are right, I always forget people use jimp in the browser. Just for correction: imagemin has various plugins. One of them is depending on mozjpeg. Others are guetzli, jpegtran, jpeg-recompress, jpegoptim and many pther for png or webp. They are all native code afaik, so not suitable for jimp :( |
🚀 Issue was released in |
In some cases, PJPEGs are smaller than the on progressives.
I found some C++ code if that's helpful.
The text was updated successfully, but these errors were encountered: