On 01/09/2024 21:28, Arnold Wiegert wrote:
> In testing with a small number of existing images as a test, I get a
> notice about "Adjust image aperture & focal length ...."
> If I don't 'adjust', the dialog pops up whenever I display the tech
> data, if I allow the 'adjustment', I see no difference in the displayed
> data before & after.
I added this functionality because I use some lenses and telescopes with
an adapter that tells my camera the lens is 50 mm, f/1.8 regardless of
what lens I'm actually using. When I set the lens model to 500 mm, f/6.3
(for example) then the focal length and aperture are changed from 50 mm
and f/1.8 to the correct values for the lens.
The dialog shouldn't be shown if no adjustment is needed so you might
have found a bug there. If you can extract the metadata (before
Photini's modified it) and send me the file it might be useful.
The command 'exiv2 ex problem_file.jpg' will extract the metadata from
problem_file.jpg and put it in a '.exv' file that I can use for testing.
> A second question, but of much less importance:
> which image types are supported and which allow adding the thumbnails.
> for those types which do not allow inclusion in the image, will a
> sidecar file be created?
The supported image types for reading and writing metadata depend on
libexiv2.
https://dev.exiv2.org/projects/exiv2/wiki/Supported_image_formats
The supported image types for thumbnail recreation depend on Pillow or
Qt or ffmpeg.
https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html
https://doc-snapshots.qt.io/qt6-6.2/qimage.html#reading-and-writing-image-files
A sidecar file will always be created if any metadata, including the
thumbnail, cannot be stored in the image file.
--
Jim Easterbrook <
http://www.jim-easterbrook.me.uk/>