voole / thumbnailator

Automatically exported from code.google.com/p/thumbnailator
Other
0 stars 0 forks source link

Thumbnailing problem for a specific JPEG image #61

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Using version 0.4.6 thumbnailing of the attached JPEG image results in a wrong 
colored version.
So far that's the only problematic image i stumbled upon. Keep up the good 
work! Thanks!

Original issue reported on code.google.com by marcus.l...@googlemail.com on 24 Oct 2013 at 8:23

Attachments:

GoogleCodeExporter commented 8 years ago
Thank you for taking the time to report this issue.
Sorry I took a long time to reply.

This appears to be an issue with the JPEG file containing color profile 
information, and the JPEG decoder which ships with Java not being able to 
handle it.

Issue 5 also reports this issue, so I'm going to go ahead and merge this issue 
with Issue 5.

Once again, thank you for reporting this issue, and thank you for your kind 
words! :)

------------------

For reference, I'm going to include the output of running `exiftool` on the 
attached file:

$ exiftool colors.jpg 
ExifTool Version Number         : 8.60
File Name                       : colors.jpg
Directory                       : .
File Size                       : 458 kB
File Modification Date/Time     : 2013:12:21 20:47:11+09:00
File Permissions                : rw-rw-r--
File Type                       : JPEG
MIME Type                       : image/jpeg
Profile CMM Type                : Lino
Profile Version                 : 2.1.0
Profile Class                   : Display Device Profile
Color Space Data                : RGB
Profile Connection Space        : XYZ
Profile Date Time               : 1998:02:09 06:49:00
Profile File Signature          : acsp
Primary Platform                : Microsoft Corporation
CMM Flags                       : Not Embedded, Independent
Device Manufacturer             : IEC
Device Model                    : sRGB
Device Attributes               : Reflective, Glossy, Positive, Color
Rendering Intent                : Media-Relative Colorimetric
Connection Space Illuminant     : 0.9642 1 0.82491
Profile Creator                 : HP
Profile ID                      : 0
Profile Copyright               : Copyright (c) 1998 Hewlett-Packard Company
Profile Description             : sRGB IEC61966-2.1

... snip ...

Image Width                     : 1487
Image Height                    : 998
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:4:4 (1 1)
Image Size                      : 1487x998

Original comment by coobird...@gmail.com on 21 Dec 2013 at 12:10