TIF image with Jpeg YCbCr opens incorrectly

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

Post Reply
zoltan
Posts: 3
Joined: Thu Oct 23, 2014 9:28 am

TIF image with Jpeg YCbCr opens incorrectly

Post by zoltan »

Hi,
I have a bunch of images that get a "Convert to 8 bit" popup, and then the image is not displayed correctly.
Windows 7.1 Photo Viewer does open them correctly.
Xnview version is 2.24, libformat 6.60

The smallest image sample I can give you is 18MB - let me know if you want it.
Kind regards,
Zoltan

gdalinfo gives:
Files: 2622A.tif
Size is 12355, 12355
Coordinate System is:
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4326"]]
Origin = (22.000019976651508,-26.000018087220372)
Pixel Size = (0.000040469426654,-0.000040469426647)
Metadata:
AREA_OR_POINT=Area
TIFFTAG_MAXSAMPLEVALUE=255
TIFFTAG_MINSAMPLEVALUE=0
TIFFTAG_RESOLUTIONUNIT=1 (unitless)
TIFFTAG_XRESOLUTION=0
TIFFTAG_YRESOLUTION=0
Image Structure Metadata:
COMPRESSION=YCbCr JPEG
INTERLEAVE=PIXEL
SOURCE_COLOR_SPACE=YCbCr
Corner Coordinates:
Upper Left ( 22.0000200, -26.0000181) ( 22d 0' 0.07"E, 26d 0' 0.07"S)
Lower Left ( 22.0000200, -26.5000179) ( 22d 0' 0.07"E, 26d30' 0.06"S)
Upper Right ( 22.5000197, -26.0000181) ( 22d30' 0.07"E, 26d 0' 0.07"S)
Lower Right ( 22.5000197, -26.5000179) ( 22d30' 0.07"E, 26d30' 0.06"S)
Center ( 22.2500199, -26.2500180) ( 22d15' 0.07"E, 26d15' 0.06"S)
Band 1 Block=256x256 Type=Byte, ColorInterp=Red
Overviews: 6177x6177, 3088x3088, 1544x1544, 772x772, 386x386, 193x193, 96x96, 48x48
Band 2 Block=256x256 Type=Byte, ColorInterp=Green
Overviews: 6177x6177, 3088x3088, 1544x1544, 772x772, 386x386, 193x193, 96x96, 48x48
Band 3 Block=256x256 Type=Byte, ColorInterp=Blue
Overviews: 6177x6177, 3088x3088, 1544x1544, 772x772, 386x386, 193x193, 96x96, 48x48
User avatar
xnview
Author of XnView
Posts: 46602
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: TIF image with Jpeg YCbCr opens incorrectly

Post by xnview »

please send me a sample file?
Pierre.
zoltan
Posts: 3
Joined: Thu Oct 23, 2014 9:28 am

Re: TIF image with Jpeg YCbCr opens incorrectly

Post by zoltan »

Hi,
I've put 2 files up, but only 1 of them is showing.
The first was just a screenshot so you can see what to expect (just a patch of sea off the East coast of South Africa - the other images are 40-80MB)

I then uploaded the TIFF - It took about 20 minutes, and did say "100%".

Email me off-list if I need to dropbox it, or use some other method.

Thanks & regards,
Zoltan
Attachments
screenshot.jpg
User avatar
xnview
Author of XnView
Posts: 46602
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: TIF image with Jpeg YCbCr opens incorrectly

Post by xnview »

please send me by PM a link to download the tiff
Pierre.
zoltan
Posts: 3
Joined: Thu Oct 23, 2014 9:28 am

Re: TIF image with Jpeg YCbCr opens incorrectly

Post by zoltan »

Post Reply