Skip to content

texture.write("foo.jpg", true): extremely low quality in SU 2024 and 2025, was fine in SU 2017 and 2022 #1047

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

Open
arigo opened this issue May 8, 2025 · 1 comment

Comments

@arigo
Copy link

arigo commented May 8, 2025

Calling the method texture.write("foo.jpg", true) writes foo.jpg in what used to be a reasonable quality, up to SU 2022. But starting from SU 2023 or 2024, the quality of the JPEG file is extremely low. To get the same low quality in GIMP I have to save the image with the quality slider all the way down to 4%. Needless to say, the image is rather useless.

I have worked around the issue by always writing PNG files instead on modern versions of SketchUp. On old versions (pre-2022) I still write JPEGs because writing PNGs used to be terribly slow, but that was fixed somewhere between 2017 and 2022. This bug report is only about the low quality of JPEG files, which continues to be the case in SU 2025.

@arigo
Copy link
Author

arigo commented May 8, 2025

Note: texture.write("foo.jpg", false) gives a good quality result. The problem is only with the colorize argument set to true.

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

1 participant