Commit Graph

144 Commits

Author SHA1 Message Date
Andreas Huggel
b68ecc7cb0 #686: Removed const-qualifier to make things comply with the C++ standard. 2010-04-04 15:57:08 +00:00
Andreas Huggel
6d496a4888 Updated Copyright notice for 2010. 2010-04-03 07:53:30 +00:00
Andreas Huggel
f8197d8463 #668: In TIFF and TIFF-like images, never modify 'image tags'. This patch implements the basic idea. 2010-04-01 16:20:54 +00:00
Andreas Huggel
13704dcba4 #684: Extended SubIFD support to 9 SubIFDs. 2010-03-04 14:46:01 +00:00
Andreas Huggel
603680b2d1 Various optimizations (side-effect of the analysis for #677). 2010-01-31 13:03:36 +00:00
Andreas Huggel
ed6f195c7f #677: Changed the container for Exif metadata from a std::vector to a std::list (plus an unrelated optimization). 2010-01-30 09:50:03 +00:00
Andreas Huggel
763b4f7933 Removed trailing whitespace. 2009-12-28 14:47:58 +00:00
Andreas Huggel
bb71f49bdc Added config for IFD3 (needed for CR2, at least some), fixed Nikon assertion failure for unknown complex binary arrays (reported by Marcel Wiesweg). 2009-12-07 16:05:44 +00:00
Andreas Huggel
370af5c8a3 Merged all changes from the unstable branch into the trunk. 2009-11-27 05:59:23 +00:00
Andreas Huggel
8a6d9dbc42 Updated Copyright notice for 2009. 2009-02-16 14:30:51 +00:00
Andreas Huggel
b03cbe50fb Improved ExifParser doc, fixed TiffParser to filter Panasonic raw tags, tweaks. 2009-02-15 08:41:41 +00:00
Andreas Huggel
3bd8cde75b Fixed ExifParser::encode to delete Panasonic RAW tags, filter duplicate tags when reading RW2 images. 2009-02-03 09:46:34 +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
cbebc753fa - Reverted exifprint idx display
- Fixed/enhanced ExifParser::encode
- Added API ExifData::erase(beg, end)
- Enhanced logic to find matching tags in non-intrusive writing
- Disabled sorting of IFD entries when writing makernote IFDs
2008-11-30 14:19:17 +00:00
Andreas Huggel
8e1098dad9 Removed some warnings. 2008-11-23 14:18:39 +00:00
Andreas Huggel
7a6907c10d Fixed conversion special case: do not add an empty Exif datum if the (std) conversion failed. 2008-11-23 13:23:53 +00:00
Andreas Huggel
8e905cacc3 Fixed duplicate makernote issue, introduced logic to try and fit Exif data for JPEG in a 64kB block. 2008-11-16 02:35:53 +00:00
Andreas Huggel
fcd7b2ca45 Fixed test whether data area is outside of the data buffer (partially tested). 2008-10-19 15:05:53 +00:00
Andreas Huggel
7b6652a910 Added ExifData pointer to Metadatum::write et al, added CanonCs.LensType and pretty-print function, changed exiv2 tool to use the new methods to print interpreted values (which allows it to refer to other metadata). 2008-10-17 14:34:29 +00:00
Andreas Huggel
ec1ea1fe80 #568: Check for empty value when creating thumbnail and preventively also in a number of other places. 2008-09-05 14:49:44 +00:00
Andreas Huggel
b759193273 Removed trailing whitespace. 2008-07-16 04:38:32 +00:00
Andreas Huggel
8489cec20c Filter unwanted tags in ExifParser::encode. 2008-06-26 15:35:16 +00:00
Andreas Huggel
de403e5933 Reinstated sortByKey and sortByTag. 2008-06-23 11:35:44 +00:00
HumanDynamo
fbf2b0281e sortByKey is missing. just to fix linking. Still todo.. 2008-06-22 19:47:34 +00:00
Andreas Huggel
0d55992e2f Merged unstable branch to trunk. 2008-06-21 10:28:17 +00:00
Andreas Huggel
81ff0d6a7c Fixed g++-4.3 errors and warnings. 2008-04-04 15:50:11 +00:00
Andreas Huggel
d8e6b51c69 Refactored op<< for Metadatum, introduced std::string Metadatum::print(). Fixes #474. 2008-02-16 18:08:44 +00:00
Andreas Huggel
3ac665a305 Added 2008 to Copyright notice. 2008-01-09 16:44:09 +00:00
Andreas Huggel
3478a05df9 Tweak 2007-12-14 17:13:21 +00:00
Andreas Huggel
1e6db63ae9 #534: Prevent integer overflow. 2007-12-14 17:05:53 +00:00
Andreas Huggel
52ddfc5938 Minor cleanup (memset -> std::memset, memcpy -> std::memcpy). 2007-09-24 14:30:10 +00:00
Andreas Huggel
ac314ddfbc Intermediate state: Merged rev. 1153-1196 from branches/xmp. 2007-09-16 09:30:30 +00:00
Andreas Huggel
da6266da3b Copyright updates for 2007 2007-02-02 10:09:31 +00:00
Andreas Huggel
687f9d9432 Added test for the type of the entries to decide if non-intrusive writing is possible. Fixes bug #452. 2006-12-29 02:32:03 +00:00
Andreas Huggel
0723a62899 Removed trailing whitespace 2006-12-15 05:07:05 +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
592ca5c711 Improved loading of JPEG data in case of problems. Existing Exif data is not modified until the new IFD0 is read successfully. Improved ExifData::clear() 2006-11-25 10:47:52 +00:00
Andreas Huggel
9daaaa3f6d Fixed compiler warnings 2006-06-21 09:16:36 +00:00
Andreas Huggel
73c6be0749 Stripped trailing whitespace 2006-06-01 15:09:39 +00:00
Andreas Huggel
521cf5eb01 Added support for Minolta CameraSettings, part 2 2006-05-09 19:42:23 +00:00
Andreas Huggel
5b57a1749b TIFF parser checkpoint (experimental): Improved CR2 support (changes in the TIFF structure table), added support for Jpeg thumbnails, enhanced TiffDirectory so that the next pointer is optional. 2006-04-23 08:05:55 +00:00
Andreas Huggel
1311ff7b10 Fixed buffer overflow in ExifData::load() when called with an empty buffer; marked the function as deprecated, as it will eventually disappear. 2006-04-10 12:23:49 +00:00
Andreas Huggel
ab10daa6d9 Removed trailing whitespace 2006-03-29 10:43:54 +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
f4adc6528b Changed Exif parser to skip broken Ifds if possible. Fixes bug #443. 2005-11-12 17:10:47 +00:00
Andreas Huggel
8c623635e9 Changed hasMakerNote to return an IfdId instead of bool 2005-10-09 05:00:43 +00:00
Andreas Huggel
260b9af10b Removed hasMakerNote() from ExifData and made it a free function. Added setting to generate an XML tagfile to Doxyfile. 2005-10-08 16:30:21 +00:00
Andreas Huggel
06e5c0719e Removed trailing whitespace from source files 2005-10-08 11:25:44 +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