Commit Graph

1465 Commits

Author SHA1 Message Date
Andreas Huggel
e1189d9924 Added several TIFF tags to the reference taglist. 2010-04-07 07:14:09 +00:00
Andreas Huggel
26b5d41255 Minor fix. 2010-04-06 16:19:37 +00:00
Andreas Huggel
c9e41799da Completed fix from r2039. 2010-04-06 13:32:22 +00:00
Andreas Huggel
4d26ac3875 Added several missing TIFF tags. 2010-04-05 15:12:44 +00:00
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
a3b24b3615 #668: Extended list of TIFF image tags. (It turned out that there are quite a few standard TIFF tags missing from the Exiv2. To be added separately). 2010-04-04 15:50:04 +00:00
Andreas Huggel
6d496a4888 Updated Copyright notice for 2010. 2010-04-03 07:53:30 +00:00
Andreas Huggel
7d466b3e87 Fixed typo. 2010-04-03 07:02:16 +00:00
Andreas Huggel
c7d5396669 Fixed issues with Unicode paths on Windows. (Thomas Beutlich) 2010-04-03 04:03:15 +00:00
Andreas Huggel
8c7fffdc7d Fixed compilation error on MSVC when SUPPRESS_WARNINGS is defined. (Thomas Beutlich) 2010-04-03 03:21:02 +00:00
Andreas Huggel
8d8a433da5 Updated Nikon Lens lookup table to v4.3.400.01 of Robert Rottmerhusen's fmountlens list. 2010-04-03 02:37:35 +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
d8197c1cfe #690: Fixed typo (Volker Grabsch). 2010-03-25 02:33:48 +00:00
Andreas Huggel
13704dcba4 #684: Extended SubIFD support to 9 SubIFDs. 2010-03-04 14:46:01 +00:00
Andreas Huggel
b8d802c12c #684: Quickfix to prevent the assertion failure. 2010-03-04 13:34:54 +00:00
Robin Mills
4c4955f876 adding EXIV2API to class CharsetInfo to fix the Mac build breaker introduced in revision:2032 2010-03-03 06:37:33 +00:00
Robin Mills
90147a3439 MSVC fixes to
1) remove use of gmtime_r
2) export static DLL method const char* CommentValue::name(CharsetId)
See discussion #419 in the Forum.  http://dev.exiv2.org/boards/3/topics/show/419
2010-03-01 05:10:07 +00:00
Andreas Huggel
3e025435a8 Added iView Media Pro and MS Expression Media XMP schemas. (Steve Wright) 2010-02-17 13:54:41 +00:00
Andreas Huggel
f03af22ccd #683: Fixed -r conversions for weekday and day of year. 2010-02-17 13:42:15 +00:00
Andreas Huggel
ade0b51b79 #671: Fixed error handling for read-only files. 2010-02-15 09:25:25 +00:00
Andreas Huggel
ec9bf9a142 Documented recent utility changes. 2010-02-15 09:10:58 +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
8a827fe979 Updated Nikon Lens lookup table to v4.2.377.1 of Robert Rottmerhusen's fmountlens list. 2010-02-08 14:08:30 +00:00
Andreas Huggel
f01c919e14 Added -g option to exiv2 utility to 'grep' info for individual tags. 2010-02-07 13:53:00 +00:00
Andreas Huggel
6d1da85d63 #666: Bugfix, updated test results. 2010-02-05 10:32:07 +00:00
Andreas Huggel
5f1d09b6f0 #666: Added configuration setting to concatenate gaps between known tags in binary arrays. Needs testing and a test-case. 2010-02-04 16:41:14 +00:00
Andreas Huggel
ece0a5c0b1 Tweak. 2010-01-31 13:29:15 +00:00
Andreas Huggel
603680b2d1 Various optimizations (side-effect of the analysis for #677). 2010-01-31 13:03:36 +00:00
Andreas Huggel
7a71340247 #677: Reversed changes from r2018. 2010-01-31 06:31:40 +00:00
Andreas Huggel
2d91fb1f6d #677: Avoid deleting Exif metadata from the container when writing. 2010-01-30 10:05:48 +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
2ce6c3dd00 Compile WError stuff only if Unicode paths are configured. 2010-01-25 15:23:06 +00:00
Andreas Huggel
18f1cc97b7 More W/Error changes to better support w/what(). 2010-01-25 15:00:54 +00:00
Andreas Huggel
50d9dce7af Make sure BasicError<> typeinfo symbol is published in the shared library, provide a test case in exifprint.cpp 2010-01-23 15:31:00 +00:00
Andreas Huggel
0bc517b545 #662: Detect and interpret a BOM. 2010-01-20 12:07:40 +00:00
Andreas Huggel
68f7c00623 #674: Fixed default type for TIFF/EP ShutterSpeedValue (Olivier Tilloy). 2010-01-20 10:44:38 +00:00
Andreas Huggel
e43a11f7b2 #662: Code tweak and updated expected test results. 2010-01-19 14:04:09 +00:00
Andreas Huggel
d00c806e3c #673: Accept XMP sidecars starting with a UTF-8 BOM. 2010-01-19 13:50:20 +00:00
Andreas Huggel
9b4f4f84d6 MinGW and MSVC fixes. 2010-01-18 16:34:16 +00:00
Andreas Huggel
ba5a7b9075 Minor fix. 2010-01-18 12:58:26 +00:00
Andreas Huggel
49e040ee8d Generalized class Error, added class WError for use with Unicode-Paths. 2010-01-17 14:36:08 +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
934c36a5ae #572: Escape special characters in the JPEG comment (using the new function by Leo Sutic. 2010-01-14 02:51:19 +00:00
Andreas Huggel
942d217e89 #662: Fixes by Leo Sutic. Added carriage return to the special characters. 2010-01-14 02:26:15 +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
0b65033488 #665: Quick-fix for the exiv2 utility to allow inserting Exif data into ORF files. 2010-01-10 16:00:09 +00:00
Andreas Huggel
50c213af9b Published convertStringCharset() in the API (for #662). 2010-01-07 16:55:23 +00:00
Andreas Huggel
7154969383 #672: Needed to compile on systems with lstat. 2010-01-07 14:39:34 +00:00
Andreas Huggel
c2ee400875 #672: Fixed issue with C-string pointer of a temporary. 2010-01-06 16:37:43 +00:00
Andreas Huggel
b986487673 Reverted accidental Makefile changes from r1994. 2010-01-06 14:26:01 +00:00
HumanDynamo
b85909a314 add Kipi xmp namespace used by digiKam kipi-plugins 2010-01-06 12:52:57 +00:00
Andreas Huggel
59ae067412 Bumped version to 0.19.1 for testing. 2010-01-04 14:31:03 +00:00
Andreas Huggel
fab4603d70 #665: Added write-support for ORF files. 2010-01-03 15:20:46 +00:00
Andreas Huggel
259a4bb2bf Optimized TiffMappingInfo::operator==(). 2010-01-03 15:20:13 +00:00
Andreas Huggel
c5b1793ef7 Minor fix. (Fulvio Senore) 2010-01-02 01:15:28 +00:00
Andreas Huggel
3662c29f16 Pointer acrobatics to workaround MSVC 7.1 problem. 2009-12-30 11:29:52 +00:00
Andreas Huggel
efa3152710 Doc updates: added new Nikon and Canon makernote tags, silenced doxygen warnings. 2009-12-29 15:24:40 +00:00
Andreas Huggel
bec7eef6cc Minor manpage update. 2009-12-29 14:36:52 +00:00
Andreas Huggel
24285cbbf1 Bumped version to 0.19. 2009-12-29 13:29:21 +00:00
Andreas Huggel
e8f8f2c14d #664: Check key size before comparing it. 2009-12-29 10:45:39 +00:00
Andreas Huggel
763b4f7933 Removed trailing whitespace. 2009-12-28 14:47:58 +00:00
Andreas Huggel
c6ae14cbb9 Added includes for g++-4.4 (Debian 4.4.2-3). 2009-12-28 14:11:23 +00:00
Andreas Huggel
eca690a2fb #571: Add Iptc.Envelope.CharacterSet only if any other dataset is added, fixed tests. 2009-12-28 12:24:14 +00:00
Andreas Huggel
efdab1512f Removed one include too many. 2009-12-28 11:52:13 +00:00
Andreas Huggel
dd659d57bd Changed MemIo to use a Pimpl class too (#510). 2009-12-27 14:57:10 +00:00
Andreas Huggel
bdc2f225af Use [w]path() instead of p_->[w]path_. 2009-12-27 10:53:24 +00:00
Andreas Huggel
83cd2efab9 #579: Implemented mmap for Windows directly in FileIo and made that class use the Pimpl idiom (#510) to de-clutter the interface. Unrelated: Added EXV_MIN/MAX macros, allow iconv config in commercial version. 2009-12-27 09:56:29 +00:00
Andreas Huggel
db0a5b8338 Minor fix to make MSVC happy. 2009-12-27 09:31:14 +00:00
Andreas Huggel
d47aeee605 Removed --disable-printucs2 configure option. 2009-12-25 16:15:09 +00:00
Andreas Huggel
d8bd05257e Ensure const correctness of iconv arguments. 2009-12-25 11:31:25 +00:00
Andreas Huggel
37f89d29c3 #663: Reverted change made in r1961. 2009-12-23 15:31:16 +00:00
Andreas Huggel
5db4fe3613 #663: Removed check for complete PS data. 2009-12-21 14:44:03 +00:00
Andreas Huggel
e722584757 #651: Added TimeZoneOffset (0x882a) and 33 other missing TIFF/EP tags. 2009-12-20 23:54:11 +00:00
Andreas Huggel
64af7781b8 #661: Changed type of tag Exif.Image.Resources to BYTE (1). 2009-12-18 09:40:06 +00:00
Andreas Huggel
9198431ea2 -b option now also suppresses Byte and SByte values. 2009-12-18 09:37:26 +00:00
Andreas Huggel
cef63099dc Fixed visibility warning on Mac OSX 10.6.2 2009-12-13 10:27:43 +00:00
Andreas Huggel
d41e19a20c Updated references to Nikon lens data tag. 2009-12-09 16:05:54 +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
4a9c193624 #658: Header of SP-560UZ ORF files seems to have a different magic. 2009-12-07 16:01:14 +00:00
Andreas Huggel
53e442d0e6 #620: Added support for Nikon Shot Info tags. 2009-12-04 17:40:42 +00:00
Andreas Huggel
aa24ca4ae9 Inverted the meaning of -u. Bad bad bad... 2009-12-02 14:26:49 +00:00
Andreas Huggel
f9c98522dc Doc cosmetics. 2009-11-29 15:27:44 +00:00
Andreas Huggel
974fb65f5d #620: Added support for Nikon Auto Focus Tags. 2009-11-29 10:42:29 +00:00
Andreas Huggel
65c421e6ee #620: Fixed a few Nikon tag names. 2009-11-29 07:40:34 +00:00
Andreas Huggel
dbc01d16cc #620: Added support for Nikon Vibration Reduction and Picture Control Tags. 2009-11-29 07:16:07 +00:00
Andreas Huggel
a175d9a9f2 Updated Nikon Lens lookup table to v4.1.361.01 of Robert Rottmerhusen's fmountlens list. 2009-11-28 14:07:35 +00:00
Andreas Huggel
26cc4713d7 #620: Removed assertion. For decrypted tags, the condition can be false. 2009-11-28 09:41:03 +00:00
Andreas Huggel
9a433a629c Updated Doxyfile for doxygen 1.6.1 and silenced a few doxygen warnings. 2009-11-28 08:28:08 +00:00
Andreas Huggel
d73096f95d Bumped version to 0.18.99. 2009-11-27 08:30:00 +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
13b0f761fb #657: Fixed tag name of Exif.Nikon3.0x008d to ColorHue. 2009-11-24 15:01:50 +00:00
Andreas Huggel
f1db95c52f #656: Replaced assertions with a proper test. 2009-11-17 14:34:35 +00:00
Andreas Huggel
215a4ce339 Initialize variables (valgrind complained). 2009-10-03 07:53:49 +00:00
Andreas Huggel
948bbc5223 #645: Added check for empty GPS coordinate value to prevent out-of-range exception. 2009-09-16 11:27:29 +00:00
Andreas Huggel
5e578f3ef6 #645: Catch XMP-SDK exception from date conversion. (Vladimir Nadvornik) 2009-09-16 11:19:49 +00:00
Andreas Huggel
4ab90e0f60 #647: Extended range check. 2009-09-06 15:44:59 +00:00
Andreas Huggel
4c17bc16b0 #647: Fixed type of offset which may be negative. 2009-09-02 13:33:32 +00:00
Andreas Huggel
a5ee17b636 #642: Applied patch from Matthias Barkhoff. 2009-07-30 15:47:53 +00:00
Andreas Huggel
d69961b5b8 #641: Use image dimensions of the primary image. 2009-07-25 16:11:39 +00:00
HumanDynamo
d21e89b9e8 2 new tags from digiKam xmp namespace 2009-07-15 07:38:09 +00:00
Andreas Huggel
e26985d18b #533: Changed two more warnings to debug messages (Volker Grabsch) 2009-07-13 15:02:39 +00:00
Andreas Huggel
d1d7be03dd Added remaining XMP plus properties (Mikolaj Machowski). 2009-07-13 14:52:01 +00:00
Andreas Huggel
5751d72224 Changed warning 'Invalid Photoshop IRB data size X or extended Photoshop IRB' to debug message. 2009-07-12 13:31:11 +00:00
Andreas Huggel
e5d19a8e63 Tweak. 2009-07-12 13:23:18 +00:00
Andreas Huggel
b9a30c80da #533: Added Volker Grabsch and Michael Ulbrich to authors. 2009-07-12 13:22:35 +00:00
Andreas Huggel
09ec544678 Added iptc4xmpExt and plus XMP schemas (Based on a patch from Mikolaj Machowski). 2009-07-05 05:49:08 +00:00
Andreas Huggel
f3c5ef1ed2 533: Applied patch 8_handle_extended_Photoshop_IRBs (Michael Ulbrich, Volker Grabsch) 2009-06-28 16:25:54 +00:00
Andreas Huggel
110c487db4 533: Applied patch 5_recognize_small_corrupt_IRBs (Michael Ulbrich, Volker Grabsch) 2009-06-28 15:47:36 +00:00
Andreas Huggel
bc9d685210 533: Applied patch 4_new_function_Photoshop_valid (Michael Ulbrich, Volker Grabsch) 2009-06-28 15:44:41 +00:00
Andreas Huggel
95baab13ed 533: Applied patch 3_skip_writing_redundant_IPTC_IRBs (Michael Ulbrich, Volker Grabsch) 2009-06-28 15:35:16 +00:00
Andreas Huggel
853fa64d4d 533: Applied patch 2_read_and_modify_only_the_first_XMP_segment (Michael Ulbrich, Volker Grabsch) 2009-06-28 15:24:16 +00:00
Andreas Huggel
5ef4c5ee22 533: Applied patch 1_handle_empty_IRB (Michael Ulbrich, Volker Grabsch) 2009-06-28 15:19:16 +00:00
Andreas Huggel
937b51236f Fixed a few leftover robotbattle links. 2009-06-21 10:37:11 +00:00
Andreas Huggel
d73f83c2a2 Bumped version to 0.18.2 2009-06-20 10:55:27 +00:00
Andreas Huggel
9bbfd1c186 Removed r1830, r1826, r1825, r1824 from trunk (PGF image format) 2009-06-20 04:55:31 +00:00
Andreas Huggel
7b75bbaa04 Removed r1799, r1797 from trunk (#634, #579) 2009-06-20 04:26:46 +00:00
HumanDynamo
8a3e708fd6 add PGF creation from scratch in memory 2009-06-18 08:53:15 +00:00
HumanDynamo
67dfeaf3bd fix comment 2009-06-18 08:52:31 +00:00
HumanDynamo
76a3a36e51 creating JPEG2 blank file from scratch is now supported 2009-06-18 08:29:22 +00:00
HumanDynamo
038be98b02 missing to register XMP type with PNG 2009-06-18 08:26:59 +00:00
HumanDynamo
a877aac92b missing to register PGF comment 2009-06-18 06:46:46 +00:00
HumanDynamo
876eb87515 Add PGF image format codec. Read and Write metadata is supported.
PGF <http://www.libpgf.org> is an image format based on Wavelet compression.
Metadata are hosted in header of file into an unique byte array. 
Metadata are saved into this area using a blank PNG file as container.
Comments, EXIF, IPTC, and XMP are supported.
2009-06-18 06:43:50 +00:00
HumanDynamo
35c2ebaf48 byte order in PNG blank dat is inverted. now creting PNG image from scratch work fine... 2009-06-18 06:39:46 +00:00
HumanDynamo
b625d025c8 wrong logic here to create blank PNG image in memory 2009-06-18 06:14:53 +00:00
HumanDynamo
b916c89320 to be able to use blank image at init 2009-06-17 16:02:45 +00:00
Andreas Huggel
f7b1109738 #638: Aligned IPTC decoding with the new encoding, but kept it backward compatible for broken images. 2009-06-16 13:30:36 +00:00
Andreas Huggel
f1c4c53c22 #638: Embed IPTC data in Photoshop IRB, some more code re-work. 2009-06-16 12:06:17 +00:00
Andreas Huggel
fbc3b58f14 #638: Fixed compiler warnings, fixed more CRC issues, shortened some code. 2009-06-14 14:33:56 +00:00
Andreas Huggel
cfec8527c7 #638: Replaced custom copyString function with strcpy, refactored some related code. Only tested on Linux, this may not compile on Windows. 2009-06-12 15:13:23 +00:00
Andreas Huggel
a1077e6ade #630: Fixed CRC error in chunk zTXt (Jochen Schug). 2009-06-11 09:22:19 +00:00
Andreas Huggel
1c2dd764f8 #636: Do not change makernote byte order unless requested. By default, use the same byte order as that of the image (for new makernote metadata). Right now, the only makernote that has its own byte order is Nikon3. Also added missing padding to IPTC binary data for Exif.Image.IPTCNAA. 2009-05-28 11:35:01 +00:00
Andreas Huggel
5720f14438 Fixed nasty illegal read. 2009-05-28 10:19:12 +00:00
Robin Mills
ab8010ffd7 #556 timegm() function should work with Windows 64bit time_t
Fix submitted.
1) Removed _USE_32BIT_TIME_T from code base.
2) Added a macro to replace timegm() with _mkgmtime() on VC8+ (supports 32 and 64 bit time_t)

Simple test performed on VC 7.1/8 and 9 (VS 2003/05/08)
C:\gnu\exiv2\msvc\bin\Release>exiv2 -a 1:00:00 ad \R.tiff && exiv2 -pt \R.tiff | grep DateTimeOriginal
Exif.Photo.DateTimeOriginal                  Ascii      20  2009:04:26 10:38:18
C:\gnu\exiv2\msvc\bin\Release>exiv2 -a 1:00:00 ad \R.tiff && exiv2 -pt \R.tiff | grep -i time
Exif.Image.DateTimeOriginal                  Ascii      20  2009:04:26 11:38:18
C:\gnu\exiv2\msvc\bin\Release>

3) Cosmetic fix to basicio.cpp
Fixed nasty little <tab> I missed when I committed basicio.cpp on Sunday (apologies)
2009-05-19 03:48:42 +00:00
Robin Mills
61ca4b9b20 #634 Locking error on windows when updating a TIFF file with MemoryMapping enabled 2009-05-17 23:41:43 +00:00
Andreas Huggel
43303cf44b #633: Apply the fix only for platforms which have lstat. This does not include Win based platforms. 2009-05-16 14:59:33 +00:00
Andreas Huggel
fca7210a3f #633: Fixed FileIo::transfer to operate on the linked-to file if the FileIo is a symlink. Only tested on Linux. 2009-05-16 12:09:07 +00:00
Andreas Huggel
7e266aa5df Updated Nikon Lens lookup table to v4.0.352.00 of Robert Rottmerhusen's fmountlens list. 2009-05-12 17:02:58 +00:00
Andreas Huggel
851db3df0e #632: Fixed another minor doc bug, ran make update-po again. 2009-05-12 16:50:08 +00:00
Andreas Huggel
ad3fd0ee6f #631: Fixed minor doc bugs, ran make update-po. 2009-05-12 16:45:55 +00:00
Andreas Huggel
05e8255c78 #628: Improved version: insert comments just before SOFn. Updated test cases accordingly. 2009-05-09 04:00:43 +00:00
HumanDynamo
1679208578 I got a new Sigma Lens : AF70-200 F2.8 EX DG MACRO for Minolta/Sony camera. It's areally a pro lens... great... 2009-05-05 07:52:08 +00:00
Andreas Huggel
792b272ad7 #628: Write COM segment (JPEG comment) last, after all APPn segments. 2009-05-02 01:42:43 +00:00
Andreas Huggel
3a8c054a20 Formatting tweaks. 2009-04-05 15:27:11 +00:00
Andreas Huggel
6be18b6a03 Updated Nikon Lens lookup table to v4.0.347.00 of Robert Rottmerhusen's fmountlens list. 2009-03-30 14:18:46 +00:00
Andreas Huggel
bbc7ae9358 Bumped version to 0.18.1 2009-03-30 13:30:11 +00:00
Andreas Huggel
e65b2db457 Added table with supported image formats to man page. 2009-03-28 14:33:01 +00:00
Andreas Huggel
0da1d88115 #606: Added Michael Ulbrich's patch for Exif and IPTC write-support. 2009-03-28 11:18:55 +00:00
Andreas Huggel
e57c3e5e8a #623: Removed class TiffPrinter and tiffparse.cpp. 2009-03-21 10:03:38 +00:00
Andreas Huggel
096a1d169f #622: Fixed MicrosoftPhoto URI in call to RegisterNamespace. 2009-03-20 15:30:01 +00:00
HumanDynamo
f8b6281ad7 fix typo in M$ XMP namespace 2009-03-20 09:03:13 +00:00
Andreas Huggel
953f387e5c Added digiKam and MicroSoftPhoto XMP properties to doc 2009-03-17 11:16:55 +00:00
HumanDynamo
c02386cb7a wrong M$ XMP tag name : RatingPercent => Rating 2009-03-17 09:01:09 +00:00
Robin Mills
0b913aa605 #621: Windows build environment changes
1) exv_msvc.h moved to msvc/include/exv_msvc.h
2) exv_msvc.h no longer has #pragma comment statements to link zlib
3) project files updated to explicitly link appropriate zlib library
2009-03-17 06:47:43 +00:00
Andreas Huggel
f827d8a380 #619: Check for empty buffer. Fixes crash with some PNG images. (Lukasz Krzyzak) 2009-03-12 09:15:09 +00:00
Andreas Huggel
21ccbfce18 #618: Added functions for easy access of common metadata, which is not always in the same tag. (Based on a discussion with and initial patch from Carsten Pfeiffer) 2009-03-07 15:26:00 +00:00
Andreas Huggel
cde2a54cc5 #602: Added specialized insert and delete code for TIFF-like target images. 2009-03-07 10:11:04 +00:00
Andreas Huggel
4283f90c6d Clarified doc. 2009-03-07 03:25:58 +00:00
Andreas Huggel
6ef6c54bc3 Fixed potential crash in Pentax makernote pretty-printing code (reported by Marijn Kampf) 2009-03-05 10:20:26 +00:00
Andreas Huggel
6c6fa80877 Replaced assertions with checks. 2009-02-26 16:03:22 +00:00
Andreas Huggel
b03733e66c Updated Nikon Lens lookup table to v3.98 of Robert Rottmerhusen's fmountlens list. 2009-02-20 12:17:41 +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
3b4f5b8c35 #494: Added Exif.Canon.FocalLength (Artis Rozentals). 2009-02-10 15:38:14 +00:00
Andreas Huggel
8b3009bacb Filter tags that are not relevant for RAW images (Matthias Welwarsky). 2009-02-10 13:38:28 +00:00
Andreas Huggel
2f25f6a14e Minor change: added comment to clarify fix for #612. 2009-02-10 13:25:26 +00:00
Andreas Huggel
370c30cb14 Quickfix to remove XMP packet without API change. Fixes #612. 2009-02-04 14:37:12 +00:00
Andreas Huggel
fcd94e2eee Fixed count of makernote tag. Fixes bug #615. 2009-02-03 15:13:13 +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
afe8efcc31 Improved Panasonic RW2 decoder: now uses a dedicated PanasonicRaw tag table and reads Exif data from embedded preview image. 2009-02-02 16:19:57 +00:00
Andreas Huggel
808494f0a1 Refactored TiffCreator: simplified, fixed several todo's, laid the ground work for multiple TIFF tree structures. 2009-02-02 11:53:00 +00:00
Andreas Huggel
8cfe1933ee Added comment. 2009-02-02 11:50:54 +00:00
Andreas Huggel
638538b180 #606: Added Michael Ulbrich to authors. 2009-01-24 15:55:03 +00:00
Andreas Huggel
72ff8f651a #606: Fixed MSVC warnings and some cosmetics. 2009-01-24 15:43:58 +00:00
Andreas Huggel
2ad2fb83d7 #606: Added IPTC write support for PSD images (Patch from Michael Ulbrich) 2009-01-24 14:47:31 +00:00
Andreas Huggel
554905ca6c Nikon makernote updates, part 1 2009-01-22 17:21:57 +00:00
Andreas Huggel
26df292003 Fixed decoding of lens data for D90 (lens data version 0204). Thanks to Niels Kristian Bech Jensen. 2009-01-15 02:14:15 +00:00
Andreas Huggel
3c13ba01cc #603: Added new Tamron lens and lens data version number (Thanks to Niels Kristian Bech Jensen). 2009-01-14 14:18:14 +00:00
Andreas Huggel
585d0e0da5 Added read-support for Panasonic RW2 raw images (incl. preview access). 2009-01-06 15:58:24 +00:00
Andreas Huggel
222a065346 Updated Panasonic makernote, added unit to exposure bias pretty-print function. 2009-01-01 15:46:04 +00:00
Andreas Huggel
105a4e417d Changed FileIo::transfer to only write a warning if changing file permissions fails and fixed the use of strerror_r. Fixes digiKam bug 178103. 2008-12-30 15:54:46 +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
a05687e159 Fixed properties (Dimitri). 2008-12-15 16:24:37 +00:00
Andreas Huggel
51fa4f7094 Fixed adjustment of tag data (digiKam bug 177457). 2008-12-15 15:16:33 +00:00
Andreas Huggel
26a3e1d4dc Minor fix. 2008-12-11 16:54:56 +00:00
Andreas Huggel
65351c15cf Workaround for a MSVC problem. 2008-12-11 13:25:15 +00:00
Andreas Huggel
0a1bcdb506 Added comment. 2008-12-11 09:41:51 +00:00
Andreas Huggel
38e7e14821 Bumped version to 0.18. 2008-12-11 09:13:51 +00:00
Andreas Huggel
86177f19a5 #586: Just add the value to the list. 2008-12-10 17:16:29 +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
6efbdc3b97 Fix. 2008-12-08 06:04:43 +00:00
Andreas Huggel
f90d554489 * Consolidated exiv2 tool print code
* Added option to print all metadata (-pa)
* Added control for type of metadata printed with -P
* API change, class Metadatum and derived classes: Added familyName() and groupName() to the Metadatum API
2008-12-08 05:32:02 +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
2f958d8a56 Added support for Olympus FE and Raw Info subdirs and tags. 2008-12-02 15:04:34 +00:00
Andreas Huggel
87ac67e5f1 #580: Fixed return code of modify action (set/add). 2008-12-02 13:48:53 +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
b657f8a9be Minor improvements when writing duplicate tags. 2008-11-26 09:34:48 +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
800b1c1c29 Improved non-intrusive writing. 2008-11-22 06:43:35 +00:00
Andreas Huggel
5297f0af00 More fixes for the MSVC build env (robin-20081113.patch from Robin Mills). 2008-11-16 15:47:07 +00:00
Andreas Huggel
5f5d9adfa3 Fixed typos, updated po files (Oliver Doerr). 2008-11-16 05:25:04 +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
d437bdc701 Fixed a Nikon3 tag. 2008-11-16 02:33:43 +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
5fd43e998c Fixed writing of TiffImageEntry previews in the Makernote (Exif.OlympusCs.PreviewImageStart). 2008-11-11 15:06:55 +00:00
Andreas Huggel
5e66d62613 Minor changes: removed some comments, added a warning. 2008-11-11 15:05:47 +00:00
Andreas Huggel
86814157c5 Catch unknown makernotes before reading the IFD (digikam bug 174620). 2008-11-09 15:11:39 +00:00
Andreas Huggel
7efd36d244 Removed trailing whitespace. 2008-11-05 15:23:49 +00:00
Andreas Huggel
5178074994 Updated Nikon lens info to v3.82 of Robert Rottmerhusen's lens database. 2008-11-05 14:58:02 +00:00
Andreas Huggel
433506937f Re-arranged internal code to suppress documentation from being published. 2008-11-04 13:04:26 +00:00
Andreas Huggel
686acd035a Added OlympusRd2, OlympusIp and OlypmusFi tags. 2008-11-04 10:56:33 +00:00
Andreas Huggel
0e2a19e8bf Prevent g++ warning for the ignored pragma. 2008-11-03 16:41:56 +00:00
Andreas Huggel
949bfbca5a Undo change from rev 1646, it causes problems on Linux. Disable MSVC warning instead. 2008-11-03 16:27:59 +00:00
Andreas Huggel
ea2e24362d Added new Olympus tag tables to doc and fixed several typos. 2008-10-30 13:41:55 +00:00
Andreas Huggel
cc373437e0 Bumped version to 0.18-pre2. 2008-10-30 13:00:50 +00:00
Andreas Huggel
2f9686e3d3 Removed seemingly unneeded EXIV2APIs. 2008-10-30 11:27:36 +00:00
Andreas Huggel
75360ac87e Undo remove virtual Error destructor, g++ wants it because of the throw() declaration. 2008-10-29 17:01:41 +00:00
Andreas Huggel
bee017287f Moved EXIV2APIs to make MSVC happy 2008-10-29 16:55:58 +00:00
Andreas Huggel
50983a44b7 #567: New MSVC build files. (Intermediate, probably doesn't compile with MSVC, ironically. By Robin Mills, errors are mine - his does compile.) 2008-10-29 16:11:01 +00:00
Andreas Huggel
b52e02b877 Added Sigma lens (Pascal de Bruijn). 2008-10-21 16:27:28 +00:00
Andreas Huggel
897d758713 Added Olympus equipment and raw development tags. 2008-10-21 14:38:24 +00:00
Andreas Huggel
1f09a4cafd Fixed non-intrusive encoding for Minolta array elements (old copy & paste bug). 2008-10-20 15:54:38 +00:00
Andreas Huggel
6eb8b15f59 Added Olympus 2 raw development, raw development 2, image processing and focus info sub-directories. 2008-10-20 15:49:23 +00:00
Andreas Huggel
a1912c2feb Added Olympus 2 equipment makernote sub-directory. 2008-10-20 15:12:21 +00:00
Andreas Huggel
9f791e6ac6 Updated Olympus Camera Settings tags. 2008-10-20 13:40:51 +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
ec451c36ea Added check for circular IFD references. 2008-10-19 10:38:27 +00:00
Andreas Huggel
f8a0d9bca6 Minor doc changes. 2008-10-19 09:40:35 +00:00
Andreas Huggel
7959e4698e Added Nikon decryption algorithm and use it to decode the lens. 2008-10-18 04:40:00 +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
74d246bfc8 Fixed cross-compilation for Windows. 2008-10-17 07:55:34 +00:00
Andreas Huggel
c852fd9b27 Small fix. 2008-10-16 13:23:34 +00:00
Andreas Huggel
444a2b7a47 Initialized variable which lead to crash on Windows (reported by Robin). 2008-10-15 11:45:10 +00:00
Andreas Huggel
1b46e4e9f8 Added support for Exif.Minolta.Thumbnail preview image (Vladimir). 2008-10-15 09:42:48 +00:00
Andreas Huggel
1ffcba3f4c Added missing virtual destructor to class Loader (Vladimir). 2008-10-15 09:20:19 +00:00
Andreas Huggel
9578e81236 Preview API changes. 2008-10-14 17:04:04 +00:00
Andreas Huggel
9870e3aea5 Added patches preview-olympus.patch and preview-tiff.patch from Vladimir (with minor whitespace and comment changes). 2008-10-14 13:35:55 +00:00
Andreas Huggel
e65d7bbfe2 Tweaks. 2008-10-11 01:17:20 +00:00
Andreas Huggel
f04912cbbf Removed readDimensions(), uncompressed_, fixed doxygen warnings (Vladimir). 2008-10-11 01:02:13 +00:00
Andreas Huggel
177bd4ffde Added synthesized tag Exif.MakerNote.ByteOrder. 2008-10-10 14:38:24 +00:00
Andreas Huggel
27d629425e Minor changes. 2008-10-09 16:12:37 +00:00
Andreas Huggel
0e58b5a537 Checking in original CRW, RAF and another preview patch from Vladimir. 2008-10-09 14:10:51 +00:00
Andreas Huggel
f6fa014ff4 Updated Nikon lens info to v3.75 of Robert Rottmerhusen's lens database. 2008-10-07 16:12:17 +00:00
Andreas Huggel
d3a17f004b Added synthesized info tag Exif.MakerNote.Offset. 2008-09-27 15:29:14 +00:00
Andreas Huggel
57a4c6a205 Fixed syntax error. 2008-09-27 03:12:51 +00:00
Andreas Huggel
4eda07a335 Added a few more performance tweaks. 2008-09-27 03:11:05 +00:00
Andreas Huggel
bd1e9d239f Some performance tweaks (analysis by Vladimir Nadvornik) 2008-09-26 15:20:57 +00:00
Andreas Huggel
43b8c07176 Always add Exif.Photo.Makernote tag, even if the makernote is decoded. 2008-09-25 14:41:37 +00:00
Andreas Huggel
832038523e Added Olympus ThumbnailImage tag. 2008-09-23 12:16:45 +00:00
Andreas Huggel
ab1804319f Fixed warnings. 2008-09-23 12:05:33 +00:00
Andreas Huggel
82ba578695 Added TIFF preview patch (Vladimir Nadvornik). 2008-09-23 12:03:44 +00:00
Andreas Huggel
e595f1211f Removed special mapping for Olympus makernote thumbnail. 2008-09-23 11:54:56 +00:00
Andreas Huggel
454d599da9 Fixed issue with custom namespaces ending with a #. (Reported by chrysn) 2008-09-20 07:11:54 +00:00
Andreas Huggel
27d9c0487f Added type tiffIfd, made decoding of OlympusCs tags work. 2008-09-19 15:26:57 +00:00
Andreas Huggel
7216dae83d Added subIFD olympcs to Olympus2 makernote and ifdIds, tags. Still incomplete. 2008-09-18 23:30:23 +00:00
Andreas Huggel
ee0b991695 Added Olympus2 makernote support, incomplete (Vladimir Nadvornik). 2008-09-18 15:14:21 +00:00
Andreas Huggel
4800f2db53 Added EXIV2API defines to interface classes. 2008-09-18 11:03:49 +00:00
Andreas Huggel
36b7c8f3ac Removed obsolete class Cr2Mapping (Vladimir Nadvornik). 2008-09-18 11:03:20 +00:00
Andreas Huggel
8ba7cc5744 Moved PreviewId out of the properties struct and minor tweaks. 2008-09-18 10:55:00 +00:00
Andreas Huggel
26b488a255 Added preview support (Vladimir Nadvornik) 2008-09-18 10:26:58 +00:00
Andreas Huggel
667d10ef93 Removed inline functions from class hierarchies (Patrick Spendrin). 2008-09-17 15:25:11 +00:00
Andreas Huggel
33c7159091 #570: Changed make string to recognize Fujifilm makernotes from FUJIFILM to FUJI. 2008-09-14 15:15:28 +00:00
Andreas Huggel
f8220756c5 Doc updates and fixes. 2008-09-10 12:43:54 +00:00
Andreas Huggel
b915385063 Minor fix for a doxygen warning. 2008-09-10 02:20:31 +00:00
Andreas Huggel
417d55f2a7 Updated version to 0.18-pre1. 2008-09-08 16:12:38 +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
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
c5ebed2d9b #523: Added GCC symbol visibility support. 2008-09-03 14:26:37 +00:00
Andreas Huggel
80a22118c9 Added check for empty value before accessing toLong(0). (Bug reported by Gilles) 2008-08-31 14:42:31 +00:00
HumanDynamo
b8d7a650c8 compile with mingw32 2008-08-30 21:06:59 +00:00
Andreas Huggel
66af728d38 Removed struct ErrMsg from public API. 2008-08-23 04:28:06 +00:00
Andreas Huggel
5955cfab94 Added IFD2 for PEF write support, fixed order in which image data is written. 2008-08-18 15:27:38 +00:00
Andreas Huggel
533b3d224a Added write-support for tiled images. Aligned every strip (tile) of the image data. 2008-08-17 15:55:18 +00:00
Andreas Huggel
02c24f4a2d Added DNG tags and a few TIFF tags. 2008-08-17 15:18:33 +00:00
Andreas Huggel
c088f6bc3e Renamed makernote2 files and TiffHeade2 class. 2008-08-17 02:51:13 +00:00
Andreas Huggel
12d074fff0 Some more cleanup. 2008-08-16 16:39:54 +00:00
Andreas Huggel
009a214c95 Improved handling of sub-IFDs when writing (relevant eg., for TIFF/EP and NEF formats). 2008-08-16 15:31:03 +00:00
Andreas Huggel
00a3ef321b Removed CIFF classes from published API, doc tweaks. 2008-08-03 15:31:36 +00:00
Andreas Huggel
cbb52db524 Updated test results, renamed Nikon3Preview group to NikonPreview. 2008-08-03 06:26:14 +00:00
Andreas Huggel
cd5508f16c #526: Added support for preview image in a sub-IFD of the Nikon3 makernote. 2008-08-03 02:02:30 +00:00
Andreas Huggel
ff875f5759 Validated final regression test script, fixed minor Canon bugs. 2008-08-02 14:53:43 +00:00
HumanDynamo
31ed169623 fix API doc 2008-08-02 10:10:02 +00:00
Andreas Huggel
088319f266 Validated bugfixes-test script results. 2008-07-31 12:12:50 +00:00
Andreas Huggel
76948ce108 Minor doc fixes. 2008-07-31 09:30:36 +00:00
Andreas Huggel
8f167ee426 Improved/fixed Exif (TIFF) type handling. 2008-07-31 03:59:30 +00:00
Andreas Huggel
4c79818d76 Register new namespaces with XMP-SDK. 2008-07-30 11:10:14 +00:00
HumanDynamo
25e068ab36 JPEG2000 read/write support :
-Fix Exif extraction to find the first occurence of Exif hearder from raw Exif Data.
-Fix Xmp extraction to find start of XML data stream.
-Add more debug info to hack (use DEBUG switch if necessary)
-Write Exif/Iptc/Xmp data work fine now !!!
-Register JP2 image writting support with right properties.
2008-07-29 12:54:39 +00:00
HumanDynamo
e28afc04b3 add warning message if Exif data cannot be decoded. Also, reset exif data from image instance in thios case. 2008-07-29 12:42:19 +00:00
HumanDynamo
75957177b5 compile with gcc 4.3.1. Fix warnings 2008-07-29 09:11:12 +00:00
HumanDynamo
9f4fb5033b add digiKam.org XMP namespace 2008-07-29 08:44:16 +00:00
HumanDynamo
09495f7fed add Microsoft Photo XMP schema 2008-07-29 08:17:06 +00:00
HumanDynamo
7dfd385205 disable debug messages 2008-07-27 20:22:14 +00:00
HumanDynamo
5ff3b4603f JPEG2000 parser : fix parsing to extract Metadata. Duing a wrong offest between box (in some cases), the jump between box been wrong
First try to write metadata in dedicated box (Exif, Iptc, and Xmp). It doesn't work yet properlly duing a wrong detection of eof. Still todo
2008-07-27 20:21:42 +00:00
HumanDynamo
51a2a03f22 another problem with this unlogic DataBuf::alloc() rule. Now XMP data can be extracted and parsed properlly. 2008-07-27 20:18:49 +00:00
HumanDynamo
9d8af01375 wrong offset computation 2008-07-27 20:10:10 +00:00
HumanDynamo
1bbc49eba6 missing to encode XML packet before to writte XMP into PNG 2008-07-27 16:13:21 +00:00
HumanDynamo
87030ebee7 PNG support: update access mode from images registry 2008-07-27 15:41:13 +00:00
HumanDynamo
3fe5ebb8ca PNG file format parser.
- Refactoring code: main loop to parse PNG chunk contents go to pngimage class. pngchunk only play with chunk contents
- Implement PNG writting mode : all metadata are supported: 
 * UTF8 comment as "Description" iTXt chunk (compressed)
 * XMP data as iTXt chunk (uncompressed as XMP spec instruction)
 * IPTC data as zTXt chunk (compressed and encoded as ImageMagick method)
 * EXIF data as zTXt chunk (compressed and encoded as ImageMagick method)
 
Note: writting mode resample metadata chunk to follow list given behind. There are several ways where other programs writte metadata in other place.
For ex : digiKam 0.9.x or ImageMagick 5.x writte Exif and Iptc to an tEXt chunk (uncompressed)
         ImageMagick 5.x writte Xmp to an uncompressed tEXt chunk
         ImageMagick 6.x writte Xmp to a compressed zTXt chunk.
2008-07-27 09:23:08 +00:00