Commit Graph

67 Commits

Author SHA1 Message Date
Andreas Huggel
10db558646 Relaxed JPEG parser error handling. Fixes bugs #511 and #449. 2007-06-09 09:09:23 +00:00
Andreas Huggel
c6613812b3 Changed AnyError to inherit from std::exception, required a change of the signature of AnyError::what() 2007-03-12 16:44:43 +00:00
Andreas Huggel
919ed204a7 Clarified error message 2007-02-07 14:27:39 +00:00
Andreas Huggel
4a1f79c8b4 Improved consistency of handling unsupported functions across image subclasses. setExif/Iptc/Comment methods throw Error(32), writeMetadata throws Error(31) if not yet implemented or not available for an image format. 2007-02-07 13:56:29 +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
04126e8bb8 Merged revisions 907:999 from gettext branch into trunk 2006-12-03 08:42:50 +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
70695ded92 Experimental TIFF read-only support, without Makernotes. As a side-effect, the parser also handles NEF images. Only tried on Linux so far. 2006-04-06 12:12:53 +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
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
489fff191d Canon CRW read support, first try. Introduces a new approach to parsing metadata. Cluttered by some related additions to the Canon makernote note and a bit of cleanup. 2005-09-11 08:41:54 +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