Commit Graph

51 Commits

Author SHA1 Message Date
Andreas Huggel
93d8dd7e1f Fix for masked Exiv2::ifd1 (Joseph Heled) 2004-07-28 15:55:07 +00:00
Andreas Huggel
735bb60985 Removed obsolete includes 2004-07-26 14:41:45 +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
d3ee3bdc9a Really fixed ExifData::copyFromMetadata to automatically add missing offset tags 2004-06-27 04:54:49 +00:00
Andreas Huggel
3156f53a25 Delete Exif section from the file when writing an empty ExifData 2004-06-20 06:29:14 +00:00
Andreas Huggel
8f445fa016 * Fixed MSVC errors and warnings (Steve, sking_5.patch)
* Fixed ExifData::copyFromMetadata to automatically add missing offset tags
* Fixed an embarassing bug in ExifData::updateEntries, which caused write
  after erasing metadata to write back the original metadata.
2004-06-19 11:31:34 +00:00
Andreas Huggel
b921d51d1b Attempt for a fix for copyFromMetadata. Not complete. 2004-06-10 16:18:18 +00:00
Andreas Huggel
f98f131244 Added the makernote buffer to the arguments passed to the create function. This allows the makernote create function to determine the exact makernote needed based on its
content. The new concept is used to automatically determine which of the three Nikon makernotes to create.
2004-05-26 01:59:07 +00:00
Andreas Huggel
fdfb5fee63 Added warning when makernote cannot be read 2004-05-25 05:55:58 +00:00
Andreas Huggel
59edeff2d8 Added len argument and boundary checks to various read functions and slightly improved error handling 2004-05-13 16:12:12 +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
99a87043a4 Workaround for MinGW bug: use remove() before rename() 2004-04-23 13:55:42 +00:00
Andreas Huggel
20bcdef949 Use DataBuf for temporary data buffers 2004-04-03 03:47:41 +00:00
Andreas Huggel
57cdf19286 Added support to read from / write to *.exv files, made return values of writeThumbnail consistent with those of other write functions 2004-04-02 09:59:16 +00:00
Andreas Huggel
2db819ccb6 Implemented erase Exif data 2004-04-01 08:34:50 +00:00
Andreas Huggel
f520a571a6 Avoid opening the image twice on read and write 2004-03-31 12:03:02 +00:00
Andreas Huggel
7d7322dff7 Implemented ImageFactory::create() and its use in ExifData 2004-03-31 02:53:21 +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
a0a42b148e Added Thumbnail class hierarchy and support to erase thumbnails 2004-03-22 08:51:07 +00:00
Andreas Huggel
532b0c33a7 Added Thumbnail::dataSize 2004-03-20 10:41:20 +00:00
Andreas Huggel
bac67ee39f Use assert macro where appropriate 2004-03-20 05:35:10 +00:00
Andreas Huggel
8a776d2f44 Supported MakerNote byte order and invalidTypeId 2004-03-18 16:04:53 +00:00
Andreas Huggel
6c389a708b Fixed TIFF thumbnail bug in Thumbnail::updateTiffImage 2004-03-09 05:43:08 +00:00
Andreas Huggel
eb9541f172 Makernote write support, part 3 (differentiate memory management modes, do not sort makernote) 2004-03-09 04:29:45 +00:00
Andreas Huggel
cdae02333f Makernote write support, part 2 2004-03-08 16:37:25 +00:00
Andreas Huggel
7174da0192 Auto-registration of MakerNote subclasses in the factory, combined mnfactory and makernote into one component again 2004-03-08 02:20:03 +00:00
Andreas Huggel
6cafaf11e3 Split makernote component in makernote, mnfactory and canonmn 2004-03-07 11:02:58 +00:00
Andreas Huggel
1daee4d7ae Changes for makernote write support, documentation updates 2004-03-07 08:47:20 +00:00
Andreas Huggel
03f2f15d98 Bugfixes (creation of Metadatum with 2 shorts instead of 1, duplicate StripOffset tags in thumbnail IFD) and change of makeKey() signature 2004-03-06 06:35:25 +00:00
Andreas Huggel
fdd338981a MakerNote related changes and Entry clean-up 2004-02-21 12:02:24 +00:00
Andreas Huggel
6749046e40 Divided exif.[ch]pp into components 2004-02-11 06:39:36 +00:00
Andreas Huggel
8f4668a6e9 Added printing of the interpreted metadatum value 2004-02-10 09:25:09 +00:00
Andreas Huggel
9cf3e66801 Fixed blunders related to non-intrusive writing: Ambiguous Ifd constructor, incomplete implementation of updateIfds 2004-02-10 02:39:34 +00:00
Andreas Huggel
f3a3e32ac2 Implemented "non-intrusive write support", part 2 and JPEG file write support 2004-02-06 12:13:32 +00:00
Andreas Huggel
214a00b842 Added thumbnail type none, added ifd and TIFF header to thumbnail 2004-02-05 03:45:20 +00:00
Andreas Huggel
cd45eb0e5c Bugfixes: use the correct version of delete 2004-02-05 01:24:27 +00:00
Andreas Huggel
39172050a8 Implemented ExifData::copy() and related Thumbnail stuff 2004-02-03 12:24:35 +00:00
Andreas Huggel
a4a95c0aec Added RCS id to each *.cpp file 2004-02-02 02:44:26 +00:00
Andreas Huggel
ff2fdd3b9f Implemented IFD logic to support "non-intrusive write operations", part 1 2004-01-31 02:55:20 +00:00
Andreas Huggel
552ce410d8 Implemented readTiffImage and various fixes and additions 2004-01-28 04:10:42 +00:00
Andreas Huggel
4e81bbf99e Improved doc, added Value::toString and Metadatum::toString 2004-01-27 04:24:59 +00:00
Andreas Huggel
23c0d08f8f More code 2004-01-26 16:18:56 +00:00
Andreas Huggel
7dcf194501 Removed Metadatum default constructor, fixed doc 2004-01-25 17:05:55 +00:00
Andreas Huggel
9a35a619e4 Rewrote Thumbnail::read(), added ExifData::findKey, cleanup 2004-01-25 16:55:46 +00:00
Andreas Huggel
478e5f21a5 Metadatum interface, Ifd::Entry 2004-01-19 16:44:28 +00:00
Andreas Huggel
325671ff2a More code... 2004-01-19 07:24:46 +00:00
Andreas Huggel
440571b544 Values implemented 2004-01-18 16:53:12 +00:00
Andreas Huggel
bb6380825d Added Value et al. 2004-01-17 08:04:14 +00:00
Andreas Huggel
9bf351c60b More code 2004-01-17 02:23:27 +00:00