You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently TwelveMonkeys and JDK have exchanged seats: the com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader confuses JPEG color space while JDK produces adequate result.
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
TwelveMonkeys: 3.0-rc5
The text was updated successfully, but these errors were encountered:
Thank you for reporting and providing a test sample. I can reproduce the problem here as well.
The reason why my reader is confused, is because the JPEG file has non-standard component id's (0, 1, 2, instead of the standard 1, 2, 3) and does not use chroma subsampling.
However, it does have a valid JFIF segment, so it should still be considered to be in YCbCr and not RGB.
Can you please test a build of the latest snapshot? I believe this behavior was already changed as part of the fix for issue #38, and should fix your problem.
Update: I did a quick test and it seems to work fine, so I'm closing this as duplicate.
Apparently TwelveMonkeys and JDK have exchanged seats: the
com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader
confuses JPEG color space while JDK produces adequate result.The test:
Original image (link):
Result:
The text was updated successfully, but these errors were encountered: