Hans-Wolfgang 0 Posted January 19, 2020 Using RadStudio editor, I looked at ccr.exif.pas in detail; included in what I'm seeing is a collection of maker notes [for cameras by Apple, Canon, Casio, Kodak, Konica, Panasonic and/or Nikon. Since my Leica Typ240 equipment is not in this list, I'm assuming that is the cause of the errors I'm encountering when trying to open one of these files. Wondering, however, if a descendent of one of the methods within CCR.Exif [or a simple, new one] can easily be written [and at what cost] to extract just the description and title [nothing more at present] of any image [of more than 1,000] from which I would want to extract simply the genus and species of each flower, displayed to user on the fly while she or he browses the collection on WWW. A sample jpg is attached. Share this post Link to post
Hans-Wolfgang 0 Posted January 20, 2020 In addition the following will be useful: sublocation, city, province and country. All of those are written out into metadata in the previously attached image file Share this post Link to post
Dave Nottage 557 Posted January 20, 2020 I suspect that attaching an image file here strips the metadata, since the one you attached appears to have none, or at least the EXIF data is gone. Share this post Link to post
David Heffernan 2345 Posted January 20, 2020 Seems unlikely that your diagnosis is accurate. If you could provide an example file and your code I think it would be easy enough to find out what's up. Share this post Link to post
Hans-Wolfgang 0 Posted January 20, 2020 If you will provide your eMail address, I will be glad to re-post my example. According to Dave Nottage in his reply of 5 h. prior to yours, the image as posted in my own, earlier reply on this forum was lacking in [at least, exif] metadata. At any rate, I am trying again here. There is no other code per se, at this time. The code that I plan to write is for an html page containing images displayed from user query: entire collection or selected members thereof. Each image will be displayed within <td> ... </td> tags of an array of thumbnails, or of a single, full-size image. For a working example, please see http://www.orchids.enwphotos.com, and view page source. Share this post Link to post
David Heffernan 2345 Posted January 20, 2020 Just upload the image to some file sharing site. And show your code to process the EXIF. 1 Share this post Link to post
Attila Kovacs 629 Posted January 20, 2020 https://www.php.net/manual/en/function.exif-read-data.php Share this post Link to post
Guest Posted January 20, 2020 @Hans-Wolfgang The image itself or its quality is not important, so the lowest quality will do, as long as the meta data is still there, intact and not edited, just as camera added it, so zip it and try it here in the forum or uploaded it somewhere while it is zipped. Share this post Link to post
Dave Nottage 557 Posted January 20, 2020 There's an image here with EXIF data: http://orchids.enwphotos.com/2013-1/310.html Which includes the camera make etc. I use a Chrome plugin to view the data: https://chrome.google.com/webstore/detail/exif-viewer/mmbhfeiddhndihdjeganjggkmjapkffm 20 hours ago, Hans-Wolfgang said: Since my Leica Typ240 equipment is not in this list, I'm assuming that is the cause of the errors I'm encountering when trying to open one of these files I doubt it, since the camera make and model is in text form, not an index to different models 20 hours ago, Hans-Wolfgang said: Wondering, however, if a descendent of one of the methods within CCR.Exif [or a simple, new one] can easily be written [and at what cost] to extract just the description and title [nothing more at present] Are you referring to Delphi code? Also, description and title are not known tags - perhaps you're referring to ImageDescription? There's a list here: https://www.exiv2.org/tags.html. Note that not all images will have anything in this tag. There's an answer on SO that suggests a simpler method of extracting EXIF at least in relation to JPEGs: https://stackoverflow.com/a/18624442/3164070 There's also a couple of alternatives to CCR-EXIF, here: https://torry.net/pages.php?id=104 Share this post Link to post