Commit Graph

52 Commits

Author SHA1 Message Date
Andreas Huggel
8a6d9dbc42 Updated Copyright notice for 2009. 2009-02-16 14:30:51 +00:00
Andreas Huggel
6f5032db37 Do not access the first element of an empty vector. 2008-12-16 17:59:07 +00:00
Andreas Huggel
65351c15cf Workaround for a MSVC problem. 2008-12-11 13:25:15 +00:00
Andreas Huggel
b3d0d5cf82 #542: Use the first Exif APP1 segment (not the last) if more than one are present. 2008-12-10 16:37:55 +00:00
Andreas Huggel
b5a00fcd5c * Added options -pp and -ep to list and extract preview images
* #584: Implemented missing member function
* API change, class PreviewImage: Added members to access all preview properties
* Minor fix: Suppress XMP encoding error when XMP is not enabled.
2008-12-07 10:51:51 +00:00
Andreas Huggel
d866b20d82 #567: Fixing MSVC build, intermediate revision, it is still broken. 2008-09-06 06:02:15 +00:00
Andreas Huggel
b759193273 Removed trailing whitespace. 2008-07-16 04:38:32 +00:00
Andreas Huggel
0d55992e2f Merged unstable branch to trunk. 2008-06-21 10:28:17 +00:00
Andreas Huggel
8f5a084ec7 #558: Skip remainder of SOF segment (mhx). 2008-06-14 13:41:48 +00:00
Andreas Huggel
654d51a366 Added read support for jp2 and psd images, stubs for gif, bmp and tga images, and pixelWidth and pixelHeight methods on Image (Marco Piovanelli). 2008-04-15 03:46:01 +00:00
Andreas Huggel
e4c96433d4 Added support for XMP sidecar files. 2008-03-08 17:10:50 +00:00
Andreas Huggel
3ac665a305 Added 2008 to Copyright notice. 2008-01-09 16:44:09 +00:00
Andreas Huggel
aecbc71657 Added XMP support to MSVC project. 2007-12-25 06:33:13 +00:00
Andreas Huggel
4b95b20db8 #534: Prevent integer overflow. 2007-12-14 17:03:26 +00:00
Andreas Huggel
5b2d182f65 #533: An attempt to read IPTC data from multiple APP13 Photoshop 3.0 segments. 2007-12-09 08:03:09 +00:00
Andreas Huggel
7c2e5a705a Updated test output, moved fix from prev rev into XmpParser. 2007-10-15 13:40:45 +00:00
Andreas Huggel
6d0cfca1a5 Fix: do not clear old XMP packet in case of an error encoding the new XMP data. 2007-10-15 12:51:04 +00:00
Andreas Huggel
52ddfc5938 Minor cleanup (memset -> std::memset, memcpy -> std::memcpy). 2007-09-24 14:30:10 +00:00
Andreas Huggel
91c4dafbf9 Fixed compiler issues (gcc-4.3, msvc 7.1) 2007-09-24 06:33:17 +00:00
Andreas Huggel
bc5e3fbd5d Bugfix. 2007-09-19 13:38:08 +00:00
Andreas Huggel
c2b31e4f5f Utility: Implemented XMP delete and insert from *.xmp file actions. Library: Added logic to determine whether to write from XMP packet or parsed XMP data. 2007-09-19 13:00:31 +00:00
Andreas Huggel
bc2fa9a4de Merged rev. 1198-1213 from branches/xmp. 2007-09-16 10:30:21 +00:00
Andreas Huggel
ac314ddfbc Intermediate state: Merged rev. 1153-1196 from branches/xmp. 2007-09-16 09:30:30 +00:00
Andreas Huggel
088679c64f Added XMP "Phase 1" functionality: New Image interface to get/set/clear the raw XMP packet. (Merged revisions 1151-1153 and 1196-1197 from branches/xmp plus bugfix which will be in revision 1199.) 2007-08-31 08:28:43 +00:00
Andreas Huggel
186f19ab2b #522: Correctly write IPTC data if the original data is not padded to even size. 2007-07-12 11:40:30 +00:00
Andreas Huggel
7ba91c5c8f #511: Changed more throw Error(15) to warnings. 2007-06-14 13:49:55 +00:00
Andreas Huggel
10db558646 Relaxed JPEG parser error handling. Fixes bugs #511 and #449. 2007-06-09 09:09:23 +00:00
Andreas Huggel
10681d6c3e Spring-cleaning of the Image class hierarchy: Image now has containers and provides default implementations for most methods. 2007-02-06 15:00:23 +00:00
Andreas Huggel
da6266da3b Copyright updates for 2007 2007-02-02 10:09:31 +00:00
Andreas Huggel
8e85cea8d4 Changed behaviour of unsupport Image functions to throw. Added better method to query the supported metadata functions for each image type. Fixes bug #491. 2007-01-29 16:12:24 +00:00
Andreas Huggel
f381cb6966 Do not write TIFF header to JPEG images if the Exif data is empty. Fixes bug #498. 2006-11-25 15:38:38 +00:00
Andreas Huggel
8caffa8eb4 Changed assertion to test when reading IPTC IRBs. Some images seem to have empty IPTC IRBs. Fixes bug #483. 2006-08-18 11:55:41 +00:00
Andreas Huggel
d53a778b2b Fixed MSVC 2005 issues (except for exiv2com) and minor problems. All tests pass now on MSVC 2005. Fixes bug #455 2006-07-22 17:55:40 +00:00
Andreas Huggel
900adcd5a8 Added check for JPEG APP segments >64k, removed 16bit size limitation for IRBs. Fixes bug #480. 2006-07-22 02:55:35 +00:00
Andreas Huggel
9daaaa3f6d Fixed compiler warnings 2006-06-21 09:16:36 +00:00
Andreas Huggel
920da80d70 Minor AutoPtr related cleanup 2006-06-11 04:28:54 +00:00
Andreas Huggel
7cdfa9bb9a Fixed MSVC compilation errors 2006-06-02 15:29:31 +00:00
Andreas Huggel
73c6be0749 Stripped trailing whitespace 2006-06-01 15:09:39 +00:00
Andreas Huggel
4ecf81832d Fixed subtle vector bug and cleaned-up setIptcIrb 2006-05-28 05:55:01 +00:00
Andreas Huggel
c1a869d332 Rearranged code and isolated a function to set a Photoshop IPTC IRB from the Jpeg write code into class Photoshop. 2006-05-27 09:08:56 +00:00
Andreas Huggel
a0053d3795 Created helper class Photoshop, moved Adobe IRB support into this class, part 1 2006-05-27 04:45:24 +00:00
Andreas Huggel
823a84d3d2 Added support for IPTC data found in an Exif Photoshop IRB tag of a TIFF/RAW image 2006-05-26 16:39:11 +00:00
Andreas Huggel
23d1c91788 Fixed inaccurate error message for failure to decode Jpeg metadata 2006-03-31 06:54:24 +00:00
Andreas Huggel
2360321cbe Added enum MetadataId and Image::supportsMetadata() to check what metadata an image class supports. Changed CrwImage to silently ignore calls to Iptc related functions instead of throwing an Error 2006-02-03 08:16:13 +00:00
Andreas Huggel
99b4e71459 Updated copyright and fsf address 2006-01-17 14:53:57 +00:00
Andreas Huggel
06e5c0719e Removed trailing whitespace from source files 2005-10-08 11:25:44 +00:00
Andreas Huggel
ef7aae6fa3 Changed ImageFactory to use a static registry (to make it re-entrant without using a locking mechanism), introduced new ImageType namespace (for identifiers for image formats, these can be added without modifying image.*), tweaked image related documentation 2005-09-25 06:28:59 +00:00
Andreas Huggel
56a7b11072 Fixed situation where an Error with a confusing message was thrown. Added BasicIo::path(). Further code and doc clean-up. 2005-04-21 07:21:53 +00:00
Andreas Huggel
55aebc0686 Overhauled exception handling. The new class Error has a list of error messages, which is selected based on the error code provided in the constructor.
Image::read/writeMetadata and ImageFactory::open now throw Error in case of failure. Applications therefore now need an exception handler for the error handling of such function calls. This should result in shorter and simpler application code.
2005-04-17 11:51:32 +00:00
Andreas Huggel
59e1a6f29f Added an EXV_ prefix to precompiler defines (still not to all yet - I don't like the idea of "exv_size_t" or "exv_const" - but hopefully to those more likely to create conflicts). Fixes bug #420 2005-03-19 06:50:19 +00:00