XnView MP 0.90 Rotate Bug

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

Moderator: Dreamer

Post Reply
obelisk
Posts: 381
Joined: Fri Jan 09, 2009 9:54 am

XnView MP 0.90 Rotate Bug

Post by obelisk » Sun Apr 01, 2018 12:18 pm

After going to .9, I noticed sometimes some files aren't rotated right.

I would have a jpg file from camera. Then I use LR to make RAW->jpg. This file looks rotated in XMP. Fine in everything else. If I open this jpg in PS and edit and save, then it's fixed in XMP again.

User avatar
masterjp
Posts: 99
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf (Germany)

Re: XnView MP 0.90 Rotate Bug

Post by masterjp » Sun Apr 01, 2018 2:28 pm

JPEG picture files of your camera has EXIF-Information which contain information about the rotation.
Some programs rotate the whole picture information about 90, 180 or 270 degree, intelligent programs change only the EXIF-Information about the rotation.

XnView MP can change the EXIF-Information or rotate the whole picture.
OS: Windows 10 Pro x64 | XN-View 2.44 | XN-View MP 0.91 | Adobe Photoshop Elements 15 & Photoshop XXL

obelisk
Posts: 381
Joined: Fri Jan 09, 2009 9:54 am

Re: XnView MP 0.90 Rotate Bug

Post by obelisk » Mon Apr 02, 2018 2:45 am

XnView MP does not DISPLAY correctly.

obelisk
Posts: 381
Joined: Fri Jan 09, 2009 9:54 am

Re: XnView MP 0.90 Rotate Bug

Post by obelisk » Mon Apr 02, 2018 3:18 am

Use exiftool with this to test

Code: Select all

-adobe:all= -exif:all= -xmp:all= -photoshop:all= -tagsfromfile "source.xmp" -iptc:all  -xmp:all -overwrite_original -ext jpg -r %*

obelisk
Posts: 381
Joined: Fri Jan 09, 2009 9:54 am

Re: XnView MP 0.90 Rotate Bug

Post by obelisk » Mon Apr 02, 2018 3:20 am

xmp tags just have iptc copyright fields.

XnView MP0.9 is the ONLY program to rotate things wrongly.
all other browsers, editors, viewers work.

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

Re: XnView MP 0.90 Rotate Bug

Post by xnview » Tue Apr 03, 2018 1:46 pm

do you have sample file to reproduce?
Pierre.

obelisk
Posts: 381
Joined: Fri Jan 09, 2009 9:54 am

Re: XnView MP 0.90 Rotate Bug

Post by obelisk » Wed Apr 18, 2018 7:43 am

Take any file and run exiftool
I've moved back to 0.87 and it works perfectly since then.

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

Re: XnView MP 0.90 Rotate Bug

Post by xnview » Sun Apr 22, 2018 9:05 am

obelisk wrote:
Wed Apr 18, 2018 7:43 am
Take any file and run exiftool
I've moved back to 0.87 and it works perfectly since then.
what do you have in source.xmp? you don't change orientation with exiftool?
Pierre.

vertigo
Posts: 115
Joined: Wed Feb 15, 2017 3:49 pm

Re: XnView MP 0.90 Rotate Bug

Post by vertigo » Sat Jul 07, 2018 5:54 pm

Try opening the image in GIMP. It's the only program I'm aware of (though there could be others) that indicates when the Exif data doesn't match with the actual rotation. As previously mentioned, some cameras and software "rotate" images by just changing an Exif field, and others actually rotate the image by moving all the pixels, which is more computationally intensive. The best fix I found for this is JPEG Autorotate, which physically rotates the image to match the Exif data. I'm assuming the problem here is that XnView MP is using the actual rotation vs using Exif data, though I could be wrong.

obelisk
Posts: 381
Joined: Fri Jan 09, 2009 9:54 am

Re: XnView MP 0.90 Rotate Bug

Post by obelisk » Thu Aug 02, 2018 12:40 am

xnview wrote:
Sun Apr 22, 2018 9:05 am

what do you have in source.xmp? you don't change orientation with exiftool?
Where is this source.xmp file?

obelisk
Posts: 381
Joined: Fri Jan 09, 2009 9:54 am

Re: XnView MP 0.90 Rotate Bug

Post by obelisk » Fri Nov 09, 2018 10:56 am

Any news on this?

Code: Select all

-adobe:all= -exif:all= -xmp:all= -photoshop:all= -iptc:all  -xmp:all -overwrite_original -ext jpg -r %*

Code: Select all

<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='Image::ExifTool 9.89'>
<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>

 <rdf:Description rdf:about=''
  xmlns:Iptc4xmpCore='http://iptc.org/••• SPAM •••/Iptc4xmpCore/1.0/xmlns/'>
  <Iptc4xmpCore:CreatorContactInfo rdf:parseType='Resource'>
   <Iptc4xmpCore:CiAdrCity></Iptc4xmpCore:CiAdrCity>
   <Iptc4xmpCore:CiAdrCtry></Iptc4xmpCore:CiAdrCtry>
  </Iptc4xmpCore:CreatorContactInfo>
 </rdf:Description> 

 <rdf:Description rdf:about=''
  xmlns:dc='http://purl.org/dc/elements/1.1/'>
  <dc:creator>
   <rdf:Seq>
    <rdf:li>Bob</rdf:li>
   </rdf:Seq>
  </dc:creator>
  <dc:rights>
   <rdf:Alt>
    <rdf:li xml:lang='x-default'>All rights reserved</rdf:li>
   </rdf:Alt>
  </dc:rights>
 </rdf:Description>
<rdf:Description rdf:about=''
  xmlns:xmpRights='http://ns.adobe.com/xap/1.0/rights/'>
  <xmpRights:Marked>True</xmpRights:Marked>
  <xmpRights:UsageTerms>
   <rdf:Alt>
    <rdf:li xml:lang='x-default'>No reproduction without prior permission</rdf:li>
   </rdf:Alt>
  </xmpRights:UsageTerms>
 </rdf:Description>
</rdf:RDF>
</x:xmpmeta>
<?xpacket end='w'?>

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

Re: XnView MP 0.90 Rotate Bug

Post by xnview » Tue Nov 13, 2018 12:31 pm

please could you send me sample files to reproduce the problem? And describe the way to reproduce...
Pierre.

Post Reply