Page 1 of 2

XnView MP 0.90 Rotate Bug

Posted: Sun Apr 01, 2018 12:18 pm
by obelisk
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.

Re: XnView MP 0.90 Rotate Bug

Posted: Sun Apr 01, 2018 2:28 pm
by masterjp
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.

Re: XnView MP 0.90 Rotate Bug

Posted: Mon Apr 02, 2018 2:45 am
by obelisk
XnView MP does not DISPLAY correctly.

Re: XnView MP 0.90 Rotate Bug

Posted: Mon Apr 02, 2018 3:18 am
by obelisk
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 %*

Re: XnView MP 0.90 Rotate Bug

Posted: Mon Apr 02, 2018 3:20 am
by obelisk
xmp tags just have iptc copyright fields.

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

Re: XnView MP 0.90 Rotate Bug

Posted: Tue Apr 03, 2018 1:46 pm
by xnview
do you have sample file to reproduce?

Re: XnView MP 0.90 Rotate Bug

Posted: Wed Apr 18, 2018 7:43 am
by obelisk
Take any file and run exiftool
I've moved back to 0.87 and it works perfectly since then.

Re: XnView MP 0.90 Rotate Bug

Posted: Sun Apr 22, 2018 9:05 am
by xnview
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?

Re: XnView MP 0.90 Rotate Bug

Posted: Sat Jul 07, 2018 5:54 pm
by vertigo
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.

Re: XnView MP 0.90 Rotate Bug

Posted: Thu Aug 02, 2018 12:40 am
by obelisk
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?

Re: XnView MP 0.90 Rotate Bug

Posted: Fri Nov 09, 2018 10:56 am
by obelisk
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/std/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'?>

Re: XnView MP 0.90 Rotate Bug

Posted: Tue Nov 13, 2018 12:31 pm
by xnview
please could you send me sample files to reproduce the problem? And describe the way to reproduce...

Re: XnView MP 0.90 Rotate Bug

Posted: Mon Dec 10, 2018 1:48 am
by obelisk
I've given you the files. Take any photo from your camera.

https://www.sno.phy.queensu.ca/~phil/exiftool/

Re: XnView MP 0.90 Rotate Bug

Posted: Thu Dec 13, 2018 1:27 pm
by xnview
sorry but i don't understand the problem, please describe all steps to reproduce...

Re: XnView MP 0.90 Rotate Bug

Posted: Sun Mar 17, 2019 5:23 am
by obelisk
You use your camera take a jpg + RAW.
use LR to make RAW->jpg in the same folder
This file now looks rotated WRONGLY in XnView .

It looks CORRECT in all other viewers.