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

jpg color turn red #219

Open
ikbujnh opened this issue Feb 19, 2024 · 2 comments
Open

jpg color turn red #219

ikbujnh opened this issue Feb 19, 2024 · 2 comments

Comments

@ikbujnh
Copy link

ikbujnh commented Feb 19, 2024

Expected behavior

1

Actual behavior

2

Steps to reproduce the behavior

Thumbnails.Builder builder = Thumbnails.of("xxx.jog");
builder.size(800, 800).toFile("xxx.jpg");

  • OS vendor and version:mac
  • JDK vendor and version:jdk 8
  • Thumbnailator version:0.4.20
@chency-jn
Copy link

There is indeed this problem and we hope to resolve it as soon as possible

@coobird
Copy link
Owner

coobird commented Apr 28, 2024

This is an issue seen when using the default JPEG decoder that's bundled with Java runtime. Try using the TwelveMonkeys ImageIO JPEG decoder that works better on JPEGs that exist in the wild.

Repository owner deleted a comment from Said-Ait-Driss Sep 19, 2024
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

3 participants