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

Improvement: Picture-quality after scaling #309

Open
Chron-O-John opened this issue Jan 24, 2025 · 2 comments
Open

Improvement: Picture-quality after scaling #309

Chron-O-John opened this issue Jan 24, 2025 · 2 comments

Comments

@Chron-O-John
Copy link

Hi, I recently tried fluxgym and found out, that when down-scaling jpg-files they will be saved with 75% quality (compression) setting, which is the default in PIL when no parameter is given.
75% produces visible artifacts, so it should be saved lossless (e.g. PNG) or at least with 95% quality-setting.

@technerd-official
Copy link

How to prevent this? What parameters and where?

Made a comparison between resized files in FluxGym and export from Photoshop (512px shortest edge) and yes the Photoshop files are way sharper.

Im trying now to export to the resolution needed (512px shortest edge) directly from Photoshop.

@Chron-O-John
Copy link
Author

well, either edit the source-code (it should be just 1 additional parameter in the function call) or - what I did, save the source-images pre-scaled as png

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