![]() |
|
The metadata "LensInfo" is not read in exifs - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: The metadata "LensInfo" is not read in exifs (/thread-13998.html) |
The metadata "LensInfo" is not read in exifs - hermor - 12-11-2024 Hello The metadata "LensInfo" is not read in exifs - acrylian - 12-11-2024 I would think the camera sadly does things off the standard not use the correctly named field… Sadly Exif is a loose standard and it can vary sadly. We use the native PHP exif reading since we removed an very old library doing this recently. I am not sure we will start cover such "camera specialities"… The metadata "LensInfo" is not read in exifs - kuzzzma - 12-11-2024 Canon, Sony and Nikon are not exactly "specialities" though... and it's valuable info for photographers. I'll test with my images from various cameras for this too, maybe that's done by others too. The metadata "LensInfo" is not read in exifs - acrylian - 12-11-2024 ""specialities" refers to camera vendors not following the even loose standard of Exif… The way PHP natively reads and interprets Exif data also depends on the PHP version used. The metadata "LensInfo" is not read in exifs - hermor - 12-11-2024 I would like to point out that my photos are taken in Raw format and processed by LightRoom to create a Jpeg file placed on my site. It is possible that the Exifs are not integrated in the same way by the different software. My camera is a Canon R7. The metadata "LensInfo" is not read in exifs - acrylian - 12-11-2024 Might be. I don't have Lightroom and also no photos in raw format… Is there anything in Lightroom to adjust how metadata is added/transfered perhaps? The metadata "LensInfo" is not read in exifs - hermor - 13-11-2024 I can choose to export Exifs or not in Jpeg but I cannot act on the content. The metadata "LensInfo" is not read in exifs - fretzl - 19-11-2024 I can confirm this is happening and opened a ticket for this issue (https://github.com/zenphoto/zenphoto/issues/1479#issue-2672322605) Please note that UndefinedTag:0xA434 corresponds to LensType and UndefinedTag:0xA432 to LensInfo. The metadata "LensInfo" is not read in exifs - hermor - 20-11-2024 In my original post, I suggested replacing LensInfo with 'UndefinedTag:0xA434' because for example: and in exif_read_data() with which corresponds well to the old exif reader. The metadata "LensInfo" is not read in exifs - acrylian - 20-11-2024 We will add some method to our formatting class that can handle both. The "Off way" with the "undefinedTags" and the way following "standard" named fields. We will post on the ticket if we have something to test in the support build. Might take a few days. The metadata "LensInfo" is not read in exifs - acrylian - 23-11-2024 We have now a fix to test in the 1.6.6a support build (master). The metadata "LensInfo" is not read in exifs - hermor - 23-11-2024 I have tested the fix and as i thung after the post of "Fretzl", the results are inverted with the results obtained in "Exifer library". In the old Exifer library, an information as 'EF70-300mm f/4-5.6L IS USM' was put in "EXIFLensInfo" collumn and the "ExifLensType" was null. The metadata "LensInfo" is not read in exifs - acrylian - 24-11-2024 I am not sure I understand the problem. The old lib was very old and there is naturally a chance it didn't do things properly. We mapped the "undefinedTag" ones to the corresponding named LensInfo and LensType Exif fields as discussed above and therefore to their matching database columns. I really like to hear more oppinions before we work more on this. The metadata "LensInfo" is not read in exifs - fretzl - 24-11-2024 Maybe it was reversed (and wrong) in the old Exifier library. The metadata "LensInfo" is not read in exifs - hermor - 24-11-2024 I understand, many thanks. I renamed the column "EXIFLensInfo" as "EXIFLensType" in database and vice versa. All is operating on my site with 1.6.6a version. The metadata "LensInfo" is not read in exifs - acrylian - 24-11-2024
Not sure what you mean, we have both columns already by default. I assume you mean the field config instead. Remember any "Hacking" is on your own risk and you have to redo it on every update. Anyway, we are following the exif specs according to https://exiftool.org/TagNames/EXIF.html. The metadata "LensInfo" is not read in exifs - acrylian - 25-11-2024 Another small change: We figured we internally used "LensType" which should actually be named "LensModel" according to the specs. So we updated the internal catalogue while the db column remains unchanged. |