0.86: Wrong thumbnail orientation for raw files

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, helmut, xnview, Dreamer

Germie
Posts: 9
Joined: Sun Apr 30, 2017 2:41 pm

0.86: Wrong thumbnail orientation for raw files

Post by Germie »

Hi folks!

I am pretty new to XnViewMP so please go easy on me :D
I have a little problem here. When I import raw files the thumbnails look great:
1.jpg
<fig. 1>
Now, when I change folders and come back to this folder it looks like this:
2.jpg
<fig. 2>
When I doubleclick an item it looks like this:
3.jpg
<fig. 3>
When I return to thumbnail explorer (which still looks like <fig. 2>, select all thumbnails en do menu / view / rebuild thumbnail it looks like this again:
4.jpg
<fig. 4)

Moving from the current folder to any other one and back to this one resets the thumbnails again to fig. 2.
2.jpg
These are raw files from the Sony RX10, but I've also seen it on G3x CR2 files
Am I doing this wrong?

Kind regards from Holland

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

Re: 0.86 Thumbnail orientation

Post by XnTriq »

Welkom aan boord, Germie :-)

What are your settings for the following options?
  1. ToolsSettings...GeneralGeneralRotate images according to EXIF orientation tag
  2. ToolsSettings...ViewViewCamera RAW, use
Germie
Posts: 9
Joined: Sun Apr 30, 2017 2:41 pm

Re: 0.86 Thumbnail orientation

Post by Germie »

Thans for the quick reply XnTriq,

The first setting is checked
The second setting is "embedded preview"

Welterusten :P

Gewrmie
User avatar
m.Th.
XnThusiast
Posts: 1662
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: 0.86 Thumbnail orientation

Post by m.Th. »

Saw it sporadically in 0.86 again after a looong time. Used to appear in older versions. Same settings like Germie. Working with CR2 files.
m. Th.

- Dark Themed XnViewMP 1.6 64bit on Win11 x64 -
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: 0.86 Thumbnail orientation

Post by XnTriq »

m.Th. wrote:Saw it sporadically in 0.86 again after a looong time. Used to appear in older versions. Same settings like Germie. Working with CR2 files.
Thanks for chiming in, m.Th.
I don't know what to make of this :-?
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: 0.86 Thumbnail orientation

Post by XnTriq »

I went looking for some ARW samples produced by a DSC-RX10 and downloaded YDSC03061.ARW from Imaging Resource. According to the Exif report for this particular file, the camera orientation flag is set to “Rotate 270 CW”. I used JPEGSnoop to extract the embedded JPEGs: thumbnail (160×120) & preview (1616×1080). To my surprise, the preview doesn't contain any EXIF information at all.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.86 Thumbnail orientation

Post by xnview »

is it possible to have the files?
Pierre.
Germie
Posts: 9
Joined: Sun Apr 30, 2017 2:41 pm

Re: 0.86 Thumbnail orientation

Post by Germie »

I'll send you some files tonight.
Do you have an upload location?

Regards
Germie
cday
XnThusiast
Posts: 3973
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: 0.86 Thumbnail orientation

Post by cday »

Germie wrote:I'll send you some files tonight.
Do you have an upload location?
Please see the email address on this Contact page...
Germie
Posts: 9
Joined: Sun Apr 30, 2017 2:41 pm

Re: 0.86 Thumbnail orientation

Post by Germie »

Here are samples to download:

RX10:
http://img.photographyblog.com/reviews/ ... x10_18.arw
http://img.photographyblog.com/reviews/ ... x10_19.arw

G3X:
http://img.photographyblog.com/reviews/ ... 3_x_60.cr2
http://img.photographyblog.com/reviews/ ... 3_x_59.cr2

G16:
http://img.photographyblog.com/reviews/ ... g16_17.cr2
http://img.photographyblog.com/reviews/ ... g16_20.cr2

To reproduce:
1. download in a testfolder and open folder in XnViewMP.
2. Add a keyword so xmp files are created (in settings|browser|metadata|IPTC & XMP export db category is checked and create XMP and create IPTC as well) And update or create XMP sidecar with <filename>.xmp is checked.
3. Move in XnViewMP to another folder
4. Return to the testfolder: All portrait files are now in landscape.

Regards from Holland

Germie

BTW The XMP file of one of these files looks like this:

Code: Select all

<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 5.5.0">
   <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
      <rdf:Description rdf:about=""
            xmlns:dc="http://purl.org/dc/elements/1.1/"
            xmlns:lr="http://ns.adobe.com/lightroom/1.0/">
         <dc:subject>
            <rdf:Bag>
               <rdf:li>ADF</rdf:li>
            </rdf:Bag>
         </dc:subject>
         <lr:hierarchicalSubject>
            <rdf:Bag>
               <rdf:li>Gebeurtenis|ADF</rdf:li>
            </rdf:Bag>
         </lr:hierarchicalSubject>
      </rdf:Description>
   </rdf:RDF>
</x:xmpmeta>
Germie
Posts: 9
Joined: Sun Apr 30, 2017 2:41 pm

Re: 0.86 Thumbnail orientation

Post by Germie »

Hi Pierre,

Sorry about that.
Try this link instead: https://www.dropbox.com/s/w4120vnwaan49 ... s.zip?dl=0

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

Re: 0.86 Thumbnail orientation

Post by xnview »

Germie wrote:Hi Pierre,

Sorry about that.
Try this link instead: https://www.dropbox.com/s/w4120vnwaan49 ... s.zip?dl=0

Regards
Germie
Do you reproduce with these files? there is no orientation field...
Pierre.
Germie
Posts: 9
Joined: Sun Apr 30, 2017 2:41 pm

Re: 0.86 Thumbnail orientation

Post by Germie »

xnview wrote:
Germie wrote:Hi Pierre,

Sorry about that.
Try this link instead: https://www.dropbox.com/s/w4120vnwaan49 ... s.zip?dl=0

Regards
Germie
Do you reproduce with these files? there is no orientation field...
Hi Pierre,

Yes I did test with these files.
Essential for reproduction is de creation of an XMP file by adding i.e. a keyword.
After that the portrait thumbnails change to landscape.

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

Re: 0.86 Thumbnail orientation

Post by xnview »

sorry but i can't reproduce, could you post a screenshot?
Pierre.
Post Reply