-
Notifications
You must be signed in to change notification settings - Fork 419
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
How to get sample value for existing image for compression #394
Comments
Hi @shailenderjain .
|
What do you mean by sample? |
I want to ensure if the files which i want to compress via mozjpeg should use the right sample plan. For e.g. if my image is using 1*1 then the same should be used by mozjpeg. It looks like if there is no parameter for mozjpeg then it could uses some DEFAULT parameter |
I see. This indeed isn't exposed in the demo command-line tool, and you'd need another libjpeg-based tool to choose correct subsampling for you. I know https://github.com/imazen/imageflow is smart about it. |
Hello, While trying to use cjpeg for compression, i want to pass the sample value. The sample value should be equal to image which needs to be compressed. Is there any mechanism by which i can get the sample value for the image
The text was updated successfully, but these errors were encountered: