How change exif data of my JPG picture? lazarus / 39-Graphics ---------------------------------------------------------------------- seba22 · 2010-12-13 12:10 Welcome, I have question i have picture jpg. That picture contain metadata called exif. Any idea how can i edit exif tags under lazarus ? I just want repleace specificated tag for example author tag "Picasa 3.0" for mine "edited by my application xxx". Right now im doing this using external application called exiftool but i want run this on windows and linux. So i cant use standalone application for that. I tried simple  repleace phrase "Picasa 3.0" for - "mystring mystring mystring" but it fail. I succesfully change few letters inside exif, but overal count must be this same. Any idea ? :> Regards ---------------------------------------------------------------------- Blaazen · 2010-12-13 17:01 There must be something like: 1) length of string (usually 2 bytes (Hi byte, Low byte) 2) text itself. So if you need other count of letters you must change the bytes before text. I recommend you to download some manual (specifications) of JPEG files. I have one (but old, from 1999) and here is written something about tag "COM", which is comment in jpeg file. ---------------------------------------------------------------------- DirkS · 2010-12-14 01:48 You can find the current spec (Exif 2.3) here: http://www.cipa.jp/english/hyoujunka/kikaku/pdf/DC-008-2010_E.pdf and older specs on this page: http://www.exif.org/specifications.html. TBH: it's far easier to use a (free) tool such as ExifTool / ExifToolGUI than to mess with this yourself... Gr. Dirk. ---------------------------------------------------------------------- boardhead · 2010-12-14 13:51 Quote from: seba22 on December 13, 2010, 01:10:50 pmRight now im doing this using external application called exiftool but i want run this on windows and linux. ... but exiftool does work on Windows and Linux (and Mac too). The command line would be: exiftool -software="edited by my application xxx" FILE - Phil ---------------------------------------------------------------------- seba22 · 2010-12-18 20:59 Thank you It's working. It's nice to see that exiftool is also compiled to Windows I think this topic is closed