image and thumbnail display problem

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
photodave
Posts: 6
Joined: Tue Apr 19, 2016 5:27 pm

image and thumbnail display problem

Post by photodave »

In viewing a folder of tif images, some images (and their thumbnails) are displayed with what appears to be histogram equalization.
When I display these images in mac Preview app or using Photoshop, they display normally.
Also if I export the image using Preview app without making changes the subsequent image is displayed correctly.
Do you know the reason for this?
User avatar
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: image and thumbnail display problem

Post by xnview »

could you send me a sample?
Pierre.
photodave
Posts: 6
Joined: Tue Apr 19, 2016 5:27 pm

Re: image and thumbnail display problem

Post by photodave »

how to send you image?
can't seem to attach one here...
cday
XnThusiast
Posts: 4397
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: image and thumbnail display problem

Post by cday »

photodave wrote:how to send you image?
Files can be sent as follows:

1. By adding to a post as an attachment, 2MiB current forum limit, in a ZIP archive if the file format isn't permitted for attachments.

2. By uploading to a file hosting service and posting a link.

3. By sending as an email attachment to the email address below.
1a.png
1a.png (1.57 KiB) Viewed 964 times
photodave
Posts: 6
Joined: Tue Apr 19, 2016 5:27 pm

Re: image and thumbnail display problem

Post by photodave »

Here are the image examples...one displays correctly (roi.0204746100.tif) the other not (roi.0204753800.tif).
They both display fine in Preview and Photoshop, but not in xnviewmp
macbook pro
osx 10.8.5
xnview 0.79
Attachments
roi.0204746100.tif
this one displays normally
(1.54 MiB) Downloaded 45 times
roi.0204753800.tif
this one seems to be histogram equalized
(1.75 MiB) Downloaded 46 times
Mixer
Banned
Posts: 166
Joined: Fri Aug 28, 2015 6:24 am

Re: image and thumbnail display problem

Post by Mixer »

Nice acidous colors. Screens made in XnView Classic 2.35. In other programs capable of opening .tif lower picture looks green-on-black like the one above. i know you here are discussing MP flaws, but MP users often post in Classic forum, so I thought, why not?
halucinogen.png
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: image and thumbnail display problem

Post by XnTriq »

AWare Systems: AsTiffTagViewer
AsTiffTagViewer ([color=green]roi.0204746100.tif[/color]) wrote:

Code: Select all

Tag Code        | Data Type | Count | Value              
----------------+-----------+-------+--------------------
ImageWidth      |   Short   |   1   | 918                
ImageLength     |   Short   |   1   | 294                
BitsPerSample   |   Short   |   3   | 16, 16, 16         
Compression     |   Short   |   1   | Uncompressed       
Photometric     |   Short   |   1   | RGB                
StripOffsets    |   Long    |   1   | 8                  
Orientation     |   Short   |   1   | TopLeft            
SamplesPerPixel |   Short   |   1   | 3                  
RowsPerStrip    |   Short   |   1   | 294                
StripByteCounts |   Long    |   1   | 1619352            
MinSampleValue  |   Short   |   3   | 0, 0, 0            
MaxSampleValue  |   Short   |   3   | 65535, 65535, 65535
PlanarConfig    |   Short   |   1   | Contig             
SMinSampleValue |   Short   |   3   | 0, 0, 0            
SMaxSampleValue |   Short   |   3   | 0, 0, 0            
AsTiffTagViewer ([color=green]roi.0204753800.tif[/color]) wrote:

Code: Select all

Tag Code        | Data Type | Count | Value              
----------------+-----------+-------+--------------------
ImageWidth      |   Short   |   1   | 1020               
ImageLength     |   Short   |   1   | 300                
BitsPerSample   |   Short   |   3   | 16, 16, 16         
Compression     |   Short   |   1   | Uncompressed       
Photometric     |   Short   |   1   | RGB                
StripOffsets    |   Long    |   1   | 8                  
Orientation     |   Short   |   1   | TopLeft            
SamplesPerPixel |   Short   |   1   | 3                  
RowsPerStrip    |   Short   |   1   | 300                
StripByteCounts |   Long    |   1   | 1836000            
MinSampleValue  |   Short   |   3   | 0, 0, 0            
MaxSampleValue  |   Short   |   3   | 65535, 65535, 65535
PlanarConfig    |   Short   |   1   | Contig             
SMinSampleValue |   Short   |   3   | 0, 0, 0            
SMaxSampleValue |   Short   |   3   | 0, 0, 0            
GnuWin: Tiff for Windows
tiffinfo.exe needs jpeg62.dll (Jpeg for Windows » Binaries) and zlib1.dll (Zlib for Windows » Binaries).
[color=green]tiffinfo -D roi.0204746100.tif[/color] wrote:

Code: Select all

TIFF Directory at offset 0x18b5a0 (1619360)
  Image Width: 918 Image Length: 294
  Bits/Sample: 16
  Compression Scheme: None
  Photometric Interpretation: RGB color
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 3
  Rows/Strip: 294
  Min Sample Value: 0
  Max Sample Value: 65535
  SMin Sample Value: 0
  SMax Sample Value: 0
  Planar Configuration: single image plane
[color=green]tiffinfo -D roi.0204753800.tif[/color] wrote:

Code: Select all

TIFF Directory at offset 0x1c03e8 (1836008)
  Image Width: 1020 Image Length: 300
  Bits/Sample: 16
  Compression Scheme: None
  Photometric Interpretation: RGB color
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 3
  Rows/Strip: 300
  Min Sample Value: 0
  Max Sample Value: 65535
  SMin Sample Value: 0
  SMax Sample Value: 0
  Planar Configuration: single image plane
User avatar
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: image and thumbnail display problem

Post by xnview »

ok, i found the problem, min/max sample value not correctly readed....
Pierre.
photodave
Posts: 6
Joined: Tue Apr 19, 2016 5:27 pm

Re: image and thumbnail display problem

Post by photodave »

You mean XnviewMP does not read the min max values correctly?
If so, will it be fixed in the next version?
When is next version?

Thanks.
Mixer
Banned
Posts: 166
Joined: Fri Aug 28, 2015 6:24 am

Re: image and thumbnail display problem

Post by Mixer »

Windows users of XnView Classic already received repair in v2.36.
photodave
Posts: 6
Joined: Tue Apr 19, 2016 5:27 pm

Re: image and thumbnail display problem

Post by photodave »

I'm using macbook pro w osx 10.8.5
xnviewmp version 0.79 x64 (Mar 22 2016)

looking forward to this fix.
Post Reply