[Digikam-devel] [digikam] [Bug 309341] digiKam doesn't write XMP-tiff Orientation tag for raw files

Gilles Caulier caulier.gilles at gmail.com
Sat Jan 12 18:30:41 GMT 2013


https://bugs.kde.org/show_bug.cgi?id=309341

--- Comment #2 from Gilles Caulier <caulier.gilles at gmail.com> ---
- writing a changed rotation to metadata is currently explicitly disabled for
RAW files
sound fine.

- I can enable writing the rotation flag to a sidecar file, but it may not have
an effect for our reading the file

It must be better to use DB orientation flag for RAW and use it to display
preview and thumb.
- it is ATM not transparent how rotation of RAW files on loading is achieved by
libraw.

It's done by libraw. In fact it's originaly dcraw code used inside. I already
take a look in dcraw code in the past (it's a big puzzle), and it use some
cached properties in metadata... It's a mess...

- I dont know how to interpret the orientation flag from RAW metadata, so I
wont know what to do with the rotation from the sidecar.

My suggestion  : simply decode it as non raw format and let's user turn preview
as it need through the DB flag...

Gilles

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list