MWG RegionInfo vs Rotation (info + sample photos)

Started by sebutzu, January 04, 2025, 12:53:56 PM

Previous topic - Next topic

sebutzu

Anyone knows if in MWG RegionInfo the AppliedToDimensions, and the X, Y, W, H are related to the image before Rotation, or after?
It seems to be before rotation, but I am not sure.
Does anyone has some sample photos that have MWG RegionInfo data, and have different rotations?
Any apps that are known to use the MWG Standard in the right way?
Thanks!

StarGeek

The old Google Picasa and Photools Imatch both write it correctly, or at least seem too because the resulting files showed up correctly in both of them. I would guess Lightroom and DigiKam also write it correctly.

Here are a couple images, with and without rotation, with embedded regions.

C:\>exiftool -G1 -a -s -imagesize -RegionApplied* Y:\!temp\x\y\Rotation_test\
======== Y:/!temp/x/y/Rotation_test/George_Washington_No_Rotation.jpg
[Composite]     ImageSize                       : 1200x1456
[XMP-mwg-rs]    RegionAppliedToDimensionsH      : 1456.000000
[XMP-mwg-rs]    RegionAppliedToDimensionsUnit   : pixel
[XMP-mwg-rs]    RegionAppliedToDimensionsW      : 1200.000000
======== Y:/!temp/x/y/Rotation_test/George_Washington_With_Rotation.jpg
[Composite]     ImageSize                       : 1456x1200
[XMP-mwg-rs]    RegionAppliedToDimensionsH      : 1200.000000
[XMP-mwg-rs]    RegionAppliedToDimensionsUnit   : pixel
[XMP-mwg-rs]    RegionAppliedToDimensionsW      : 1456.000000
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype