28 Commits

Author SHA1 Message Date
62f3c0a5cb fpexif: Avoid crash when xmp data have trainling zero bytes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9024 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-13 17:35:49 +00:00
035442ee36 fpexif: Delphi support for XMP metadata.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9012 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-11-06 16:42:17 +00:00
49849cc193 fpexif: Fix compilation with Delphi
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8995 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-28 23:37:19 +00:00
ab61bf4bb9 fpexif: Fix crash when the image file contains xmp data with invalid xml structure (missing first '<')
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8994 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-28 23:14:27 +00:00
68e8dba861 fpexif: Minor optimization.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8642 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-12-08 17:58:19 +00:00
5715d71739 fpexif: Fix some range check errors. Patch by forum user Mirkasp (https://forum.lazarus.freepascal.org/index.php/topic,60105.msg448827).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8366 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-07-28 20:48:21 +00:00
79770ff31d fpexif: Support write-back of XMP
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8202 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-03-07 21:03:56 +00:00
f39aad84fe fpexif: Add support of XMP meta data (reading).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8201 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-03-07 12:10:52 +00:00
d415062ff4 fpexif: Less hints and warnings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8125 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-10-27 14:54:14 +00:00
652eaac2d4 fpexif: Fix compilation of unit test project with Delphi 7.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8063 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-07-13 07:48:15 +00:00
f335aef18e fpexif: Fix compilation of unit tests with Delphi.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8062 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-07-13 07:40:43 +00:00
2ea4de6d2b fpexif: Continue reading jpg when unexpected EXIF segment is found. Show built-in shell icons in metadata viewer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8003 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-04-27 14:48:09 +00:00
5c636d346d fpexif: Fix incorrect copying of XMP meta data when a file with XMP is re-saved.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7983 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-03-25 13:16:46 +00:00
d6e6b78c99 fpexif: Undo previous commit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7982 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-03-24 23:03:16 +00:00
8312fda08f Fix incorrect APP1 segment size calculation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7981 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-03-24 16:55:19 +00:00
85c861408a fpexif: Fix crash when file with incorrectly specified segment length is written. Fix XMP metadata being lost when they coexist together with EXIF.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7965 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-01-17 18:22:28 +00:00
660f4a7db7 fpexif: Undo r7416
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7778 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-10-14 19:05:30 +00:00
abb796c0b2 fpexif: Set WriteJFIFandEXIF after reading a file so that existing segments are preserved.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7428 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-05-03 20:55:56 +00:00
7e70201620 fpexif: Add boolean property WriteJFIFandEXIF which forces writing JFIF and EXIF segments if both exist. (https://forum.lazarus.freepascal.org/index.php/topic,49648.0.html).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7427 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-05-03 20:32:43 +00:00
94067dff3d fpexif: Fix file-not-found error when image is on One Drive for Business. See https://forum.lazarus.freepascal.org/index.php/topic,49564.msg359676.html
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7416 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-04-29 06:33:35 +00:00
cd0aa90768 fpexif: Fix detection of EXIF structure if a JFIF extension APP0 marker segment is in file (JFXX). Extract JFXX thumbnail.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7194 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-11-21 15:11:12 +00:00
3b457821b0 fpexif: Fix memory leak due to typo ("except" instead of "finally"). Issue #34537, patch by Mike Thompson.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6841 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-04-09 09:23:28 +00:00
5d8c0d9f2d fpexif: minor changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6092 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-12-09 08:42:30 +00:00
e0d533ac91 fpexif: Provide option to read exif without maker notes (not standardized and poorly documented feature).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6091 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-12-07 11:35:50 +00:00
824c594816 fpexif: Fix some errors with various test images.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6090 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-12-06 22:12:10 +00:00
d2d4b72692 fpexif: Add introductory readme.txt; minor improvements in console_demo. New method TExifData.Save.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6084 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-12-02 22:33:05 +00:00
13726c172b fpexif: Fix compilation under Delphi
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6081 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-12-02 18:30:58 +00:00
e03afa62f1 fpexif: Initial commit of units and tests
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6080 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-12-02 17:12:00 +00:00