Commit Graph

3159 Commits

Author SHA1 Message Date
Miloš Komarčević
c688ed448d Moved ambient tags to Exif only list, other refactoring
Handle more TIFF/EP vs Exif differences

Moved translated values (GPS, Exif) closer to their respective lists
2020-11-20 21:22:41 +01:00
Robin Mills
829ed7da15 Clarified definition and use of enum SectionId @kmilos: please review/approve. 2020-11-20 10:02:32 +00:00
Robin Mills
4c52891549 Fix tag GPSHPositioningError to use printValue() pretty-printer. 2020-11-19 15:48:14 +00:00
Robin Mills
a59a382961 I hope I've made a better job of this at this attempt. I don't thing the "section" enum is of much importance. I don't believe anything in particular is done with with it.
```cpp
    /*!
      @brief Section identifiers to logically group tags. A section consists
             of nothing more than a name, based on the Exif standard.
     */
    enum SectionId { sectionIdNotSet,
                     imgStruct, recOffset, imgCharacter, otherTags, exifFormat,
                     exifVersion, imgConfig, userInfo, relatedFile, dateTime,
                     captureCond, gpsTags, iopTags, mpfTags, makerTags, dngTags, panaRaw,
                     tiffEp, tiffPm6, adobeOpi,
                     lastSectionId };
```

I pleased with the documentation and drawing I have added to the book concerning the Exif Specification.

https://clanmills.com/exiv2/book/#Exif
2020-11-19 15:40:50 +00:00
clanmills
58ae0b0752 fix_929_exif2.31_0.27 2020-11-07 20:36:24 +00:00
Miloš Komarčević
1038e62a42 actions: simplify print summary using easyaccess 2020-11-05 12:10:36 +01:00
Miloš Komarčević
f6abec4432 exiv2 pr uses easyaccess API (co-authored with clanmills) 2020-11-04 19:19:40 +01:00
Miloš Komarčević
5e92d5e078 Fix easyaccess-test 2020-11-03 11:03:46 +01:00
Miloš Komarčević
98f4effeea Add DateTimeOriginal to easyaccess 2020-11-02 17:30:46 +01:00
Miloš Komarčević
189e0c9338 Add more easy accessors for Exif & TIFF/EP overlap 2020-11-02 10:25:19 +01:00
Olli Lupton
eec8e8902f Add LensType entry for Olympus M.Zuiko Digital ED 17mm F1.2 Pro lens. 2020-10-20 20:21:23 +01:00
Leonardo Brondani Schenkel
0f6fef7507 Make lens name consistent with models 150 and 368 2020-10-19 13:49:58 +02:00
Leonardo Brondani Schenkel
c4d18d02e7 Detect Sigma 18-35mm f/1.8 DC HSM (firmware 2.x)
On Canon bodies and lens firmware 1.x, this lens identifies itself using
model number 150. Starting with firmware 2.x, this lens now identifies
itself using model number 368.

Exiv2 was correctly identifying the former but not the latter.

This commit also fixes a pre-existing bug in which exiv2 was not
correctly disambiguating lenses using model number 368.
2020-10-19 13:49:58 +02:00
Luis Díaz Más
9eb058bd43 Modify strncpy0 to avoid warning 2020-10-17 17:39:13 +02:00
Luis Díaz Más
44debddf4e Hide zlib absolute path in cmake config file 2020-10-17 17:05:12 +02:00
Luis Díaz Más
8dc42199e8 Hide exiv2-xmp dependency in CMake config file: 2020-10-17 17:05:12 +02:00
Luis Díaz Más
b9164d9f8b Revert "change implementation of Exiv2::base64encode() to adopt implementation from same URL as base64decode()."
This reverts commit b596f311f4.
2020-10-16 09:02:52 +02:00
clanmills
b596f311f4 change implementation of Exiv2::base64encode() to adopt implementation from same URL as base64decode(). 2020-10-15 20:13:50 +01:00
clanmills
c7bcfcfbf8 replace base64encode in src/futils.cpp 2020-10-15 15:49:20 +01:00
Robin Mills
55bdaafebf
Merge pull request #1341 from Exiv2/fix_1278_nls_test_0.27
Fix 1278 nls test 0.27
2020-10-14 14:01:07 +01:00
Robin Mills
5240630849 fix_1353_mingw_toolchain_0.27 2020-10-13 15:55:07 +01:00
clanmills
2adde8dd73 Fix compiling http.cpp and reinstate centOS on gitLab. 2020-10-11 20:43:33 +01:00
Robin Mills
bc01aac114
Merge pull request #1351 from Exiv2/fix_1343_png_0.27
Fix 1343 png 0.27
2020-10-11 10:15:22 +01:00
clanmills
9fa6d3965a C++ changes requested by @piponazo. Fix python png_test() recommended by @LeoHsiao1. Update reference output. 2020-10-09 18:50:27 +01:00
clanmills
834dca39d0 Code changes 2020-10-09 06:40:28 +01:00
Luis Díaz Más
778479556f Include winsock2 at the beginning of http.cpp 2020-10-06 22:56:07 +02:00
Luis Díaz Más
30773c92a3 WIN32_LEAN_AND_MEAN propagated with exiv2lib target 2020-10-06 22:48:38 +02:00
Luis Díaz Más
b304244766 Move winsock2 inclusion to http.cpp 2020-10-06 22:01:01 +02:00
Robin Mills
604a268059 Second effort to unexpose winsock2.h from include <exiv2/exiv2.hpp> using EXIV2_BUILDING_EXIV2 mechanism. 2020-10-02 08:44:57 +01:00
clanmills
7ff0e0613a fix_1335_winsock2_0.27 2020-10-01 17:23:12 +01:00
clanmills
e0e2a71a48 Fix: https://travis-ci.org/github/Exiv2/exiv2/jobs/730867927 2020-09-28 09:24:26 +01:00
clanmills
48afa7548d fix_1329_remove_bigtiff_0.27 2020-09-28 07:43:06 +01:00
clanmills
37cc2db72d fix 1307 ASAN issues with RemoteIo 2020-09-17 17:57:06 +01:00
Luis Díaz Más
f39b23806b Assume existence of stdint.h 2020-09-16 21:53:49 +02:00
Luis Díaz Más
b7ee13eb63 Use ctime instead of time.h 2020-09-16 21:39:27 +02:00
Jan Tojnar
306c8a6fd4
cmake: Fix include_directories for exiv2lib target
The headers are installed to ${CMAKE_INSTALL_INCLUDEDIR} but the CMake config was hardcoded to include directory.
2020-09-10 22:23:39 +02:00
Jan Tojnar
48f2c9dbba
cmake: Fix paths with absolute GNUInstallDirs
It is not generally true that `CMAKE_INSTALL_<dir>` variables are relative paths:

https://github.com/jtojnar/cmake-snips#concatenating-paths-when-building-pkg-config-files
https://github.com/jtojnar/cmake-snips#assuming-cmake_install_dir-is-relative-path

Let's join them properly as paths, not strings.

On Windows, the absolute paths will likely remain unsupported as neither the CMake function,
nor the C++ code is able to detect absolute paths.

Signed-off-by: Jan Tojnar <jtojnar@gmail.com>
2020-09-05 11:18:46 +02:00
Robin Mills
963c91fe8a fix_1266_GPSProcessingMethod 2020-08-29 10:22:23 +01:00
tbeu
f61fa2ed9d
Fix write ability flags of PSD files (#1260) 2020-08-10 20:08:12 +02:00
Robin Mills
22ed9b157b Fixed typo declaration of pad when writing ICC profile. 2020-07-08 13:51:51 +01:00
Robin Mills
181dd47385 Fix correctly this time and tested with the user files. Test suite updated to use Reagan2.jp2 2020-07-07 18:56:18 +01:00
Robin Mills
b91de7acd0 fix_1236_0.27 2020-07-06 20:52:29 +01:00
Robin Mills
58fb9f850b
Merge pull request #1227 from Exiv2/v0.27.3_RC2
v0.27.3 rc2
2020-05-31 14:23:12 +01:00
clanmills
7383d96d47 Fix compiler error when using EXIV2_DEBUG_MESSAGES. 2020-05-31 10:22:46 +01:00
Robin Mills
08d1cd84c2 Don't compile localtime.c (hurray) 2020-05-31 05:49:18 +01:00
Robin Mills
6b4a9e5b40 fix_1219_remove_localtime_0.27 2020-05-31 05:45:39 +01:00
Robin Mills
7bf40a2408 fix_1211_c++11_0.27. I'll explain this in the PR. 2020-05-28 14:16:08 +01:00
clanmills
6d7a5266ea fix_1219_mingw_crw_date_0.27 2020-05-26 07:36:45 +01:00
Robin Mills
3f1a6a509b
Merge pull request #1211 from Exiv2/cpp98_cygwin_0.27
http.cpp doesn't compile with C++/98 on Cygwin and MinGW/msys2.
2020-05-20 12:09:02 +01:00
clanmills
0215608071 http.cpp doesn't compile with C++/98 on Cygwin and MinGW/msys2. 2020-05-20 06:50:29 +01:00