XnView does not provide correct thumbnail for image

Ask for help and post your question on how to use XnView Classic.

Moderators: XnTriq, xnview

Hacker
Posts: 198
Joined: Tue May 17, 2005 9:24 pm
Location: Bratislava, Slovakia
Contact:

XnView does not provide correct thumbnail for image

Postby Hacker » Sun Jul 16, 2017 7:14 pm

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
Attachments
test.jpg
test.jpg (33.03 KiB) Viewed 257 times

User avatar
XnTriq
Moderator & Librarian
Posts: 5104
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: XnView does not provide correct thumbnail for image

Postby XnTriq » Sun Jul 16, 2017 10:45 pm

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

Hacker
Posts: 198
Joined: Tue May 17, 2005 9:24 pm
Location: Bratislava, Slovakia
Contact:

Re: XnView does not provide correct thumbnail for image

Postby Hacker » Wed Jul 19, 2017 9:51 am

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

User avatar
XnTriq
Moderator & Librarian
Posts: 5104
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: XnView does not provide correct thumbnail for image

Postby XnTriq » Wed Jul 19, 2017 7:30 pm

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 (ToolsOptionsThumbnailsAppearance)?

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

p144002_2.jpg
Actual image (39×81)
p144002_2.jpg (33.03 KiB) Viewed 230 times

Hacker
Posts: 198
Joined: Tue May 17, 2005 9:24 pm
Location: Bratislava, Slovakia
Contact:

Re: XnView does not provide correct thumbnail for image

Postby Hacker » Sun Jul 23, 2017 10:59 pm

Hello XnTriq,
XnTriq wrote:BTW: Have you tried activating Create thumbnail from original image if embedded is smaller than thumbnail size (ToolsOptionsThumbnailsAppearance)?

Yes, I have. Does not help. Does it work for you?

Roman

User avatar
XnTriq
Moderator & Librarian
Posts: 5104
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: XnView does not provide correct thumbnail for image

Postby XnTriq » Tue Jul 25, 2017 1:45 am

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?

User avatar
xnview
Author of XnView
Posts: 28298
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnView does not provide correct thumbnail for image

Postby xnview » Tue Jul 25, 2017 12:12 pm

XnTriq wrote:@Pierre: Can you reproduce the issue?

No i can't reproduce, this problem is only for this picture file?
Pierre.

User avatar
XnTriq
Moderator & Librarian
Posts: 5104
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: XnView does not provide correct thumbnail for image

Postby XnTriq » Tue Jul 25, 2017 3:30 pm

xnview wrote:No i can't reproduce, this problem is only for this picture file?

I think so. JPEGsnoop reports an error.

Hacker
Posts: 198
Joined: Tue May 17, 2005 9:24 pm
Location: Bratislava, Slovakia
Contact:

Re: XnView does not provide correct thumbnail for image

Postby Hacker » Fri Aug 04, 2017 11:28 am

I can provide more samples if necessary. They are all taken by a cameraphone in vertical orientation.


Return to “Classic - General Support”

Who is online

Users browsing this forum: No registered users and 3 guests