Commit Graph

60 Commits

Author SHA1 Message Date
Andreas Huggel
185ae8b8c0 #529, patch from Michal Cihar: Added Pentax makernote support (AOC\0 type). 2007-09-27 15:36:10 +00:00
Andreas Huggel
52ddfc5938 Minor cleanup (memset -> std::memset, memcpy -> std::memcpy). 2007-09-24 14:30:10 +00:00
Andreas Huggel
9df66ae09e #521: Reduced size limit for Exif tags. 2007-07-02 03:06:18 +00:00
Andreas Huggel
9bdd35fa14 #513: Added check for size of IFD entries to prevent crash. 2007-04-30 15:57:23 +00:00
Andreas Huggel
da6266da3b Copyright updates for 2007 2007-02-02 10:09:31 +00:00
Andreas Huggel
0723a62899 Removed trailing whitespace 2006-12-15 05:07:05 +00:00
Andreas Huggel
04126e8bb8 Merged revisions 907:999 from gettext branch into trunk 2006-12-03 08:42:50 +00:00
Andreas Huggel
02ace626ce Fixed ExifData::op= to update IFD pointers of Nikon3 and Fujifilm makernotes correctly. This solves the issues recreated with exiv2iface-test of #496. 2006-11-16 11:14:18 +00:00
Andreas Huggel
7a253e016e Implemented quick fix for digikam bug 136932 (http://bugs.kde.org/show_bug.cgi?id=136932) 2006-11-06 15:48:14 +00:00
Andreas Huggel
609dbe60d3 Workaround for 64 bit long values (David Cannings) 2006-08-13 14:55:39 +00:00
Andreas Huggel
d3d2d4c023 Added boundary check for next IFD to Ifd::read, fixes bug #479. 2006-07-02 12:19:17 +00:00
Andreas Huggel
9daaaa3f6d Fixed compiler warnings 2006-06-21 09:16:36 +00:00
Andreas Huggel
707b8e8dc0 New TIFF parser: Extract TIFF thumbnail from IFD1 if there is one. 2006-06-04 15:21:19 +00:00
Andreas Huggel
521cf5eb01 Added support for Minolta CameraSettings, part 2 2006-05-09 19:42:23 +00:00
Andreas Huggel
ab10daa6d9 Removed trailing whitespace 2006-03-29 10:43:54 +00:00
Andreas Huggel
a2b8c3f327 Added testcase and warning for bug #451 2006-02-03 08:13:34 +00:00
Andreas Huggel
a1a5ff02b8 Fixed invalid type id for user comment tag, bug #451 2006-02-03 04:41:44 +00:00
Andreas Huggel
99b4e71459 Updated copyright and fsf address 2006-01-17 14:53:57 +00:00
Andreas Huggel
0398735e80 Changed class Entry to transform comment type on the fly. Fixes bug #445. 2005-11-19 10:04:02 +00:00
Andreas Huggel
06e5c0719e Removed trailing whitespace from source files 2005-10-08 11:25:44 +00:00
Andreas Huggel
5823ceaff3 Changed Ifd::read() to allow it to access the complete Exif data buffer. Corresponding changes done to makernotes. Fixes bug #424. 2005-07-31 08:50:09 +00:00
Andreas Huggel
043a4a348b Added #ifndef SUPPRESS_WARNINGS blocks around all output from the library: compile with -DSUPPRESS_WARNINGS for a quiet library 2005-07-09 10:38:09 +00:00
Andreas Huggel
c99597ccd7 Added basic Sony makernote, decoded Exif.CanonCs2.ISOSpeed (from Exiftool) and Exif.Nikon3.LensFStops (from Robert Rottmerhusen) 2005-04-20 18:16:29 +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
6a675f3d82 Added support for Canon Camera settings 1/2 and Custom Functions tags 2005-04-10 04:06:05 +00:00
Andreas Huggel
782a845b86 Added the foundations for Olympus Makernote support 2005-03-27 07:53:00 +00:00
Andreas Huggel
54a42fc1f7 Generalized and cleaned-up makernote handling 2005-03-13 12:52:56 +00:00
Andreas Huggel
8521dead83 Added 2005 to Copyright lines 2005-03-12 16:43:06 +00:00
Andreas Huggel
eab30a7eb7 Added cast required to compile with MSVC 2005-02-23 16:21:42 +00:00
Andreas Huggel
8221293072 Completed ExifData assignment operator and copy constructor, added related code and tests. Fixes bug #417 2005-02-21 15:57:10 +00:00
Andreas Huggel
7539421a27 Fixed handling of Ifd offsets (bug #411), fixed guessing of Ifd base offset, added Ifd::pBase_ (not used yet), updated tests 2005-02-19 07:43:36 +00:00
Andreas Huggel
1196e0aee3 Fixed Ifd::size() and Ifd::copy() to handle an empty IFD consistently. 2004-11-24 12:23:39 +00:00
Andreas Huggel
974d5e4637 Added data area concept to Value, ValueType, Entry, Ifd. Implements feature #395 2004-11-14 16:33:04 +00:00
brad
77d3d5621a added subversion style keywords 2004-11-09 19:10:37 +00:00
Andreas Huggel
a25763d070 Replaced custom integer types with C99 types 2004-09-15 13:14:52 +00:00
Andreas Huggel
166e6f7928 Added full IPTC read and write support (Brad, bs_3.patch) 2004-08-12 03:57:27 +00:00
Andreas Huggel
9d72b7d1ec Revamped image and introduced byte* interface (Brad, bs_1.patch with minor modifications by ahu) 2004-07-26 08:11:38 +00:00
Andreas Huggel
b69c40e671 Fixed MSVC errors and warnings (Steve, sking_5.patch) 2004-06-19 11:22:17 +00:00
Andreas Huggel
dd7b63d3ba Fixed MSVC errors and warnings (Steve, sking_4.patch) 2004-06-10 15:54:55 +00:00
Andreas Huggel
5c43555856 Corrected IFD entry in debug output 2004-06-02 05:15:38 +00:00
Andreas Huggel
afe338162b Improved handling of corrupt IFDs: Truncate field if offset points outside of the buffer 2004-05-31 16:45:23 +00:00
Andreas Huggel
d7bb6cd791 Added debug output (Todo: remove this before the next release!) 2004-05-14 11:05:49 +00:00
Andreas Huggel
cc827d59a8 Added len argument and boundary checks to various read functions 2004-05-13 16:14:16 +00:00
Andreas Huggel
cbb1c15810 Changed namespace name Exif to Exiv2 2004-05-08 09:25:17 +00:00
Andreas Huggel
0b24a0ad29 makernote:
Added MakerNote::offset()
Fixed IfdMakerNote::copy() for IfdMakerNote with a prefix
Various doc fixes

ifd:
Fixed Ifd::erase(pos) to return an iterator
Added Ifd::dataOffset()
Various doc fixes

exif:
Added Thumbnail::offset()
Fixed ExifData::eraseThumbnail()
Fixed ExifData::erase(pos) to return an iterator
2004-05-07 05:09:57 +00:00
Andreas Huggel
3681403ac4 Naming convention: Renamed data members xyz_ that are pointers to pXyz_ 2004-03-23 02:55:12 +00:00
Andreas Huggel
f7c55fcb64 Bugfix: Set offset to the next IFD directly in the underlying data buffer in non-alloc mode 2004-03-22 08:49:20 +00:00
Andreas Huggel
bac67ee39f Use assert macro where appropriate 2004-03-20 05:35:10 +00:00
Andreas Huggel
8c7c00a86e Bugfix in Entry::setValue : use type, not type_ 2004-03-20 04:30:33 +00:00
Andreas Huggel
f297a651f9 More consistent / better defined handling of Entry::size_ 2004-03-19 09:13:33 +00:00