Page 1 of 1
XnView does not provide correct thumbnail for image
Posted: Sun Jul 16, 2017 7:14 pm
by Hacker
Hi all,
I am using XnView to show JPG file thumbnails in Total Commander. However, this image's thumbnail is not shown correctly, it's just a grey pixel.
Windows 10
XnView 2.40
TC 9.0a x64
Any thoughts, ideas or suggestions appreciated.
Roman
Re: XnView does not provide correct thumbnail for image
Posted: Sun Jul 16, 2017 10:45 pm
by XnTriq
Hi Roman
I can't reproduce the issue, but there seems to be a problem with the embedded thumbnail in the extension segment (JFXX) to the
APP0 JFIF marker: “Not known APP0 type. Skipping remainder.”
Code: Select all
JPEGsnoop 1.7.5 by Calvin Hass
http://www.impulseadventure.com/photo/
-------------------------------------
Filename: [X:\test.jpg]
Filesize: [33827] Bytes
Start Offset: 0x00000000
*** Marker: SOI (xFFD8) ***
OFFSET: 0x00000000
*** Marker: APP0 (xFFE0) ***
OFFSET: 0x00000002
Length = 16
Identifier = [JFIF]
version = [1.2]
density = 144 x 144 DPI (dots per inch)
thumbnail = 0 x 0
*** Marker: APP1 (xFFE1) ***
OFFSET: 0x00000014
Length = 784
Identifier = [Exif]
Identifier TIFF = 0x[49492A00 08000000]
Endian = Intel (little)
TAG Mark x002A = 0x002A
EXIF IFD0 @ Absolute 0x00000026
Dir Length = 0x000C
[IFD0.0x0100 ] = 0x[00000A00] / 2560
[IFD0.0x0101 ] = 0x[00000600] / 1536
[Make ] = "SAMSUNG"
[Model ] = "GT-I8200N"
[Orientation ] = 6 = Row 0: right, Col 0: top
[XResolution ] = 72/1
[YResolution ] = 72/1
[ResolutionUnit ] = Inch
[Software ] = "I8200NXXUAOC1"
[DateTime ] = "2017:07:15 17:05:03"
[YCbCrPositioning ] = Centered
[ExifOffset ] = @ 0x00E2
Offset to Next IFD = 0x000002B6
EXIF IFD1 @ Absolute 0x000002D4
Dir Length = 0x0005
[Compression ] = JPEG
[IFD1.0x0112 ] = 6
[XResolution ] = 72/1
[YResolution ] = 72/1
[ResolutionUnit ] = Inch
Offset to Next IFD = 0x00000000
EXIF SubIFD @ Absolute 0x00000100
Dir Length = 0x0016
[ExposureTime ] = 201/65536 s
[FNumber ] = F2.6
[ExposureProgram ] = Aperture priority
[ISOSpeedRatings ] = 50
[ExifVersion ] = 02.20
[DateTimeOriginal ] = "2017:07:15 17:05:03"
[DateTimeDigitized ] = "2017:07:15 17:05:03"
[ComponentsConfiguration ] = [Y Cb Cr .]
[ExposureBiasValue ] = 0.00 eV
[MaxApertureValue ] = 2760/1000
[MeteringMode ] = CenterWeightedAverage
[Flash ] = Flash did not fire
[FocalLength ] = 3 mm
[MakerNote ] = @ 0x0240
[FlashPixVersion ] = 01.00
[ColorSpace ] = sRGB
[ExifImageWidth ] = 0x[00000051] / 81
[ExifImageHeight ] = 0x[00000027] / 39
[ExposureMode ] = Auto exposure
[WhiteBalance ] = Auto white balance
[DigitalZoomRatio ] = 65536/65536
[SceneCaptureType ] = Standard
EXIF MakerIFD @ Absolute 0x0000025E
Makernote decode option not enabled.
*** Marker: APP0 (xFFE0) ***
OFFSET: 0x00000326
Length = 29597
Identifier = [JFXX]
Not known APP0 type. Skipping remainder.
*** Marker: APP9 (xFFE9) ***
OFFSET: 0x000076C5
Length = 4
*** Marker: DQT (xFFDB) ***
Define a Quantization Table.
OFFSET: 0x000076CB
Table length = 67
----
Precision=8 bits
Destination ID=0 (Luminance)
DQT, Row #0: 1 1 2 3 3 3 2 3
DQT, Row #1: 1 1 3 3 1 1 5 3
DQT, Row #2: 1 1 1 1 1 4 2 4
DQT, Row #3: 1 1 1 1 3 1 4 7
DQT, Row #4: 1 1 3 1 4 6 6 7
DQT, Row #5: 2 4 1 6 6 5 6 6
DQT, Row #6: 3 2 6 5 4 4 5 5
DQT, Row #7: 3 4 3 4 5 5 6 5
Approx quality factor = 96.71 (scaling=6.59 variance=15.87)
*** Marker: DQT (xFFDB) ***
Define a Quantization Table.
OFFSET: 0x00007710
Table length = 67
Re: XnView does not provide correct thumbnail for image
Posted: Wed Jul 19, 2017 9:51 am
by Hacker
Hi XnTriq,
Not sure if that's really the case, since if I rotate the image (Rotate based on EXIF value), the thumbnail is shown fine. However, if you are right and XnView cannot use the embedded thumbnail (for any reason), I'd suggest to provide a thumbnail from the image itself.
Roman
Re: XnView does not provide correct thumbnail for image
Posted: Wed Jul 19, 2017 7:30 pm
by XnTriq
Hacker wrote:Not sure if that's really the case, since if I rotate the image (Rotate based on EXIF value), the thumbnail is shown fine. However, if you are right and XnView cannot use the embedded thumbnail (for any reason), I'd suggest to provide a thumbnail from the image itself.
Yes, I agree.
BTW: Have you tried activating
Create thumbnail from original image if embedded is smaller than thumbnail size (
Tools →
Options →
Thumbnails →
Appearance)?

- Embedded thumbnail (200×120)
- p144002_1.jpg (28.9 KiB) Viewed 1387 times

- Actual image (39×81)
- p144002_2.jpg (33.03 KiB) Viewed 1387 times
Re: XnView does not provide correct thumbnail for image
Posted: Sun Jul 23, 2017 10:59 pm
by Hacker
Hello
XnTriq,
XnTriq wrote:BTW: Have you tried activating Create thumbnail from original image if embedded is smaller than thumbnail size (Tools → Options → Thumbnails → Appearance)?
Yes, I have. Does not help. Does it work for you?
Roman
Re: XnView does not provide correct thumbnail for image
Posted: Tue Jul 25, 2017 1:45 am
by XnTriq
Sorry for the delay, Roman.
Hacker wrote:Does it work for you?
No, but I was hoping that it would work in conjunction with Total Commander. Unfortunately I don't have any hands-on experience with
XnView as a plug-in for TC
@Pierre: Can you reproduce the issue?
Re: XnView does not provide correct thumbnail for image
Posted: Tue Jul 25, 2017 12:12 pm
by xnview
XnTriq wrote:@Pierre: Can you reproduce the issue?
No i can't reproduce, this problem is only for this picture file?
Re: XnView does not provide correct thumbnail for image
Posted: Tue Jul 25, 2017 3:30 pm
by XnTriq
xnview wrote:No i can't reproduce, this problem is only for this picture file?
I think so. JPEGsnoop reports an
error.
Re: XnView does not provide correct thumbnail for image
Posted: Fri Aug 04, 2017 11:28 am
by Hacker
I can provide more samples if necessary. They are all taken by a cameraphone in vertical orientation.