Commit Graph

22 Commits

Author SHA1 Message Date
Luis Díaz Más
0bbaa6eff3 cpp: Replace auto_ptr by unique_ptr 2021-04-15 06:56:11 +02:00
Robin Mills
d632988bbd Massive code prolog cleanup. 2021-03-17 13:34:21 +00:00
Robin Mills
9e2ac47cf9
Merge pull request #1475 from 1div0/BMFF
Base Media File Format
2021-03-10 10:34:21 +00:00
Peter Kovář
dcfe538a09 Revert "Add artist tag"
This reverts commit c46e800c0a.
2021-02-25 20:08:46 +01:00
Peter Kovář
c46e800c0a Add artist tag 2021-02-25 19:40:18 +01:00
Robin Mills
4ae0a1d2a3 Tidy up. Rename Tag::cr3_exif -> Tag:cmt2 2021-02-25 15:25:09 +00:00
Christoph Hasse
29f3d5cac9 introduce parseTiff method to parse exif 2021-02-25 10:38:26 +01:00
Robin Mills
c40eccd062 fix_1464_sony2010e Fix c++ code 2021-02-10 20:13:05 +00:00
Christoph Hasse
2909e9cacc Implement handling of new Nikon LensData version 8.0 and 8.01 2020-12-20 13:48:42 +01:00
Robin Mills
9b877f8506 Success. It's working! 2020-11-26 20:23:03 +00:00
Robin Mills
c48189afa7 Add FujiIFD to TiffCreator::tiffGroupStruct_ 2020-11-26 13:34:29 +00:00
clanmills
18ed65a25f fix_Sony2010e_0.27 Thanks to @sridharb1 2020-03-29 17:55:37 +01:00
clanmills
90f9f0bc19
Add support for Exif.Canon.AF tags to be read from images
This PR (and fix981_canonAutoFocus2) use a decoder listed in TiffMappingInfo to
decode Exif.Canon.AFInfo. The decoding function "manufactures" Exif tags such as
Exif.Canon.AFNumPoints from the data in Exif.Canon.AFInfo. These tags must never
be written to file and are removed from the metadata in
exif.cpp/ExifParser::encode().

Three of the tags created (AFPointsInFocus,AFPointsSelected, AFPrimaryPoint) are
bitmasks. As the camera can have up to 64 focus points, the tags are a 64 bit
mask to say which points are active. The function printBitmask() reports data
such as 1,2,3 or (none).

This decoding function decodeCanonAFInfo() added to TiffMappingInfo manufactures
the new tags. Normally, tags are processed by the binary tag decoder and that
approach was taken in branch fix981_canonAf. However, the binary tag decoder
cannot deal with AFInfo because the size of some metadata arrays cannot be
determined at compile time.
2019-09-14 11:28:18 +02:00
Luis Díaz Más
113136e134 Replace DEBUG with EXIV2_DEBUG_MESSAGES
Fixes #926
2019-07-12 11:14:35 +02:00
Robin Mills
ab375fb074 Add support for FocusPosition in Sony RAW files (#906)
* Fix 582 Add support for FocusPosition in Sony RAW files
* Thanks to @boardhead sonyFpCrypt() works correctly. Removed debug code. Fixed typos.
* Update doc/templates/Makefile to process Sony2Fp
* Following review by @boardhead. Renamed sonyFpCrypt() as sonyTagDecipher().
* Fixed writing the tag thanks to @boardhead explaining encipher/decipher.
  Sadly, ArrayCfg/crpyt does not know if he's encrypting/decrypting.
  I've added a sniff in TiffEncoder::visitBinaryArrayEnd to avoid changing the API.
* Added URL to discussion concerning sonyTagCipher()
* make sonyTagCipher() a static function with no external visibility.
2019-06-26 21:36:59 +02:00
Robin Mills
b6f82a8f58 Change byte order in nikonAf22Cfg to invalidByteOrder (see #880 and #885). 2019-06-18 21:29:55 +02:00
Robin Mills
b02c80f7e4 fix646_NikonAF22 2019-06-18 21:29:55 +02:00
Robin Mills
2451e7ba56 fix880_NikonEndian 2019-05-21 17:26:27 +02:00
Luis Díaz Más
9296067b95 Fix access to null pointer in TiffParser 2019-02-19 23:26:30 +01:00
Luis Diaz Mas
6f8d8e3da6 cleanup header inclusions in API 2019-01-11 15:55:25 +01:00
Dan Čermák
efe2ccdcb6 Replaced all hardcoded error codes with ker... constants 2018-02-18 09:28:57 +01:00
Luis Díaz Más
d3748152a7 add _int suffix to all the internal files 2017-11-28 17:36:08 +01:00