Problem with orientation in JPEG versions

Started by jarraun, March 18, 2022, 08:44:07 PM

Previous topic - Next topic

jarraun

Dear users.

A bit desperate here.

I have a master vertical NEF with a EXIF and XMP orientation: "Rotate 270 CW", its JPEG version has a EXIF and XMP orientation: "Horizontal (normal)". So far, so good they display correctly everywhere.

When I change some metadata of the master NEF (say rating) and write it back the JPEG version takes EXIF and XMP orientation from master ("Rotate 270 CW") and displays wrong, horizontal instead vertical.

In File relations NEF versioning I propagate "XMP all data" and I´ve checked "Don´t copy XMP orientation", I do not propagate any EXIF metadata.

Please could someone give me an idea of what´s is going on. Thank you.

Best regards
Javier


Mario

Please attach the two original files you have used for your test, or upload somewhere and post a link.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

jarraun

Thank you Mario. Files sent to your mail.

jarraun

Sorry Mario forgive me for insisting, no news ?, any problem ?. Thank you.

Mario

I have received your email and placed it on the huge stack of "please check my file for this and that problem" emails I get every week.
Each of these emails may cause hours of work on my part and I process them when there is time and in the order in which I have received them.

I will contact you when I have questions or with my findings for your particular issue.

QuoteI do not propagate any EXIF metadata.

Yes. But during write-back, ExifTool synchronizes XMP into EXIF (to ensure all mapped tags contain the same value). Maybe this is the issue already?
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

hluxem

It's a long shot, but I have some files with rotation issues after write back. For me that's caused from IDF0 and IDF1 tags going out of sync when writing back meta data. I think the IDF1 tag was used to update the IDF0 tag. My best solution is to remove the idf1 tag.

You can use exif tool to check both tags and see if they are the same before and after write back. Or check the below command on a copy of your file and see if that solves the issue.

The following command will remove the thumbnail section from the jpg file.

QuoteI found that the ifd1 tags are used for an embedded thumbnail in the jpg file which seems to be not used much. It did say that the orientation needs to be the same. I think DxO is not even touching the thumbnail section in the Exif data and that's why there are different orientation tags.

The following command will remove the thumbnail section from the jpg file.

-ifd1:all=
{Files}

Heiner

jarraun

Thank you Heiner.

Interesting as my JPEG files are generated also by DXO from TIFF´s, unfortunately in ExifTool commandsI can´t run:

-ifd1:all=
{Files}

When I "Run once" get this:

Error: File not found - D:/JAVIER/Mis imágenes/Flujo_Imagenes/Descarga_Tarjeta/img2022/img20220306_san_maurici/japirivis20220307_104805_v2.jpg
Error: File not found - D:/JAVIER/Mis imágenes/Flujo_Imagenes/Descarga_Tarjeta/img2022/img20220306_san_maurici/japirivis20220307_111201_v2.jpg
    0 image files updated
    2 files weren't updated due to errors



If I "Run in each file in selection" get the warnig attached.

Mario

Your command is incomplete. Try

-ifd1:all
-charset
filename=UTF8
{Files}

-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

jarraun

Sorry for the inconveniences, my fault. I had a version proxi that propagate all xmp to my JPEG version, that was the problem.
:-[

Mario

-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook