Skip to content
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

I have some question about Scalr method #116

Open
iamgique opened this issue Mar 4, 2016 · 1 comment
Open

I have some question about Scalr method #116

iamgique opened this issue Mar 4, 2016 · 1 comment

Comments

@iamgique
Copy link

iamgique commented Mar 4, 2016

I have some question,
How do I set image quality percent for compress an image.

I've just use resize method with these args (SPEED, BALANCED, QUALITY and ULTRA_QUALITY)
but I'm not sure how many quality of image after compress.

@rmuller
Copy link

rmuller commented Sep 18, 2016

The scalr resize(...) methods return a BufferedImage. For this, compression quality is not relevant. Compression quality is supported by some file formats (like JPEG) and has to be set when the image is saved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants