Commit Graph

66 Commits

Author SHA1 Message Date
Andreas Huggel
bc54748634 #711: Added FloatValue to deal with TIFF Float values. (Nice one! :) 2010-07-22 02:41:02 +00:00
Andreas Huggel
06ce0d18b6 - Introduced exiv2.hpp as a wrapper to include all Exiv2 objects. (Renamed existing exiv2.hpp to exiv2app.hpp)
- Changed Sony/Minolta pretty-print function to print EV value
- Renamed rcsid.hpp to rcsid_int.hpp, do not publish it anymore
2010-06-27 10:04:39 +00:00
Andreas Huggel
f821caf029 Another fix similar to r2073 and a minor conversion fix that was exposed by the former. 2010-04-14 16:17:55 +00:00
Andreas Huggel
6d496a4888 Updated Copyright notice for 2010. 2010-04-03 07:53:30 +00:00
Andreas Huggel
6c0ecf66fb #662: Added new option -n and action fixcom to exiv2 utility. 2010-02-12 15:37:28 +00:00
Andreas Huggel
0bc517b545 #662: Detect and interpret a BOM. 2010-01-20 12:07:40 +00:00
Andreas Huggel
e43a11f7b2 #662: Code tweak and updated expected test results. 2010-01-19 14:04:09 +00:00
Andreas Huggel
dab01e73e9 #662: Added CommentValue::detectCharset and an optional parameter for the encoding to CommentValue::comment(). 2010-01-15 11:29:55 +00:00
Andreas Huggel
41b3365ad1 #662: Charset conversion on read and write (and if needed on copy). 2010-01-14 16:54:57 +00:00
Andreas Huggel
3a76ca8ad7 #662: Mostly formatting changes and a few tweaks. Move exifcomment tests to bugfixes-test.sh 2010-01-12 16:29:10 +00:00
Andreas Huggel
52f8c366c2 #662: Patch exiv2-exifcomment-unicode.patch from Leo Sutic (unmodified, without exiv2-bug662.jpg). 2010-01-12 14:06:54 +00:00
Andreas Huggel
c5b1793ef7 Minor fix. (Fulvio Senore) 2010-01-02 01:15:28 +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
5ffbab1713 Added missing #includes for g++ 4.4 (Debian bug 505023, patch from Martin Michlmayr). 2008-11-13 12:28:20 +00:00
Andreas Huggel
7efd36d244 Removed trailing whitespace. 2008-11-05 15:23:49 +00:00
Andreas Huggel
27d9c0487f Added type tiffIfd, made decoding of OlympusCs tags work. 2008-09-19 15:26:57 +00:00
Andreas Huggel
667d10ef93 Removed inline functions from class hierarchies (Patrick Spendrin). 2008-09-17 15:25:11 +00:00
Andreas Huggel
8f167ee426 Improved/fixed Exif (TIFF) type handling. 2008-07-31 03:59:30 +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
d1a305e30f Added LangAltValue::toString(const std::string&) to get the value for a specific language qualifier (suggested by Marco Piovanelli). 2008-05-01 08:22:26 +00:00
Andreas Huggel
e878166f0d Improved XMP value toLong, toFloat and toRational using new functions parseLong, parseFloat and parseRational. (Vladimir Nadvornik) 2008-03-05 07:45:16 +00:00
Andreas Huggel
3ac665a305 Added 2008 to Copyright notice. 2008-01-09 16:44:09 +00:00
Andreas Huggel
f51e7e0512 Added type keyword to XmpTextValue, added test with a command file that generates the same XMP packet as xmpsample. 2007-10-16 15:57:27 +00:00
Andreas Huggel
595665be33 Added reg command to utility, fixed set command to wrok better with XMP arrays, modified LangAlt write method to write default first, fixed registerNs bug. 2007-10-15 10:07:39 +00:00
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
91c4dafbf9 Fixed compiler issues (gcc-4.3, msvc 7.1) 2007-09-24 06:33:17 +00:00
Andreas Huggel
9beec8880d Added XMP sample (incomplete), bugfixes. 2007-09-22 15:28:49 +00:00
Andreas Huggel
71c87ce89e Bugfixes for XMP array handling. 2007-09-20 18:17:57 +00:00
Andreas Huggel
a9fa6688bf Changed from xmpArray to xmpBag, xmpSeq and xmpAlt. 2007-09-20 13:34:48 +00:00
Andreas Huggel
97956266e6 Utility: Implemented modify action for XMP properties. Library: Bugfixes, tweaks. 2007-09-19 15:21:50 +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
771738b475 Added includes required to compile with gcc 4.3 (prereleases) 2007-04-03 02:09:41 +00:00
Andreas Huggel
da6266da3b Copyright updates for 2007 2007-02-02 10:09:31 +00:00
Andreas Huggel
2c82879afe Added second attempt to parse an IPTC field into a string value, if parsing the actual type fails. Fixes bug #501. 2006-12-18 12:44:03 +00:00
Andreas Huggel
9daaaa3f6d Fixed compiler warnings 2006-06-21 09:16:36 +00:00
Andreas Huggel
8761340ed7 Check C-string pointer before using it. Fixes bug #456 2006-03-13 03:55:26 +00:00
Andreas Huggel
99b4e71459 Updated copyright and fsf address 2006-01-17 14:53:57 +00:00
Andreas Huggel
fc11d18013 Make sure the str argument to sscanf() is a 0 terminated C-string. Fixes Bug #447. 2005-12-10 10:36:36 +00:00
Andreas Huggel
c32e706c36 Changed Value::read() to return an int indicating success instead of throwing. Added Support for HHMMSS and H:M:S formats to TimeValue (assumes timezone is UTC). Fixes bug #440. 2005-10-08 11:34:32 +00:00
Andreas Huggel
06e5c0719e Removed trailing whitespace from source files 2005-10-08 11:25:44 +00:00
Andreas Huggel
1a2183c2ea This should fix 'unused parameter' warnings reported on Mac OS 10.4.1 Tiger / gcc4. To be confirmed. 2005-07-24 04:09:51 +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
8521dead83 Added 2005 to Copyright lines 2005-03-12 16:43:06 +00:00
Andreas Huggel
b8a7b77ade Removed void AsciiValue::read(const byte*, long, ByteOrder); instead use that of the baseclass, which does not add a trailing null.
Adding a null can cause a metacopy operation to write from metadata instead of simply copying the metadata.
2005-03-08 13:59:22 +00:00
Andreas Huggel
423825593c Added CommentValue 2005-01-16 13:48:52 +00:00
brad
6d3cb17189 right align output stream for date and time writes. bug #397 2004-11-13 10:06:30 +00:00