Commit Graph

305 Commits

Author SHA1 Message Date
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
clanmills
e3fd0c633e Thank You @piponazo for the code review. I've made the changes you requested. 2021-03-09 14:10:52 +00:00
Miloš Komarčević
0da1a50afe Revert style changes 2021-03-08 18:18:17 +01:00
Miloš Komarčević
e09d093ccf Minor whitespace formatting 2021-03-08 11:58:06 +01:00
clanmills
ae66869695 Updated to adopt Review suggestions by @kmilos. Thank You, Milos. 2021-03-08 10:04:27 +00:00
postscript-dev
6cd9263fa7 Fix langAltValue::read() parsing
+ Fix segmentation faults in langAlt parse
+ Fix mismatched quotation marks and incorrect values
+ Add Python testing
  + Some tests commented out as quotation marks are filtered, preventing them
    from running.
Closes #1481.
2021-03-06 18:59:31 +00:00
clanmills
0ad46453ed With good fortune, bmffimage is ready for review. 2021-03-06 16:12:02 +00:00
Robin Mills
71d29fe60b Fix MSVC build breaker and modify test_pr_1475_HIF.py to run on Windows. 2021-03-03 14:34:15 +00:00
Robin Mills
fd9cb67fb7 WIP: adding BmffImage::printStructure() and support for colr box. 2021-03-02 14:39:56 +00:00
Robin Mills
ea1c91874f Added parseXmp() to parse Xmp metadata. 2021-02-28 11:29:09 +00:00
Robin Mills
44d976c2a1 Remove bmffimage::printStructure() as discussed in review with @hassec. Corpse removal and cleanup in bmpfimage.hpp 2021-02-26 10:21:12 +00:00
Robin Mills
5c77888037 Revised following code review by @hassec. Thank You, Christoph. 2021-02-25 18:10:48 +00:00
Peter Kovář
4d3af08ad8 Add CR3 image dimensions 2021-02-25 18:42:34 +01:00
Robin Mills
4ae0a1d2a3 Tidy up. Rename Tag::cr3_exif -> Tag:cmt2 2021-02-25 15:25:09 +00:00
Robin Mills
9515e4658b Cleanup. 1. Recursively process uuid/cano box. 2. Fix LGTM/CI sprintf grumbles. 3. Comment parseTiff() in bmffimage.hpp. 2021-02-25 14:47:20 +00:00
Robin Mills
913ee33372 Parse Exif in .HEIC/.AVIF 2021-02-25 12:28:50 +00:00
Christoph Hasse
28b41f59bd run clang-format on new files 2021-02-25 10:42:38 +01:00
Christoph Hasse
29f3d5cac9 introduce parseTiff method to parse exif 2021-02-25 10:38:26 +01:00
Robin Mills
f190f496d1 Tidying up. 1. pixelHeight_. 2. refactored indenter() -> indent(). 3. EXIV2_DEBUG_MESSAGES outputs to std::cerr 2021-02-25 05:50:54 +00:00
Robin Mills
8d7133d7bc WIP: Added class Iloc and related code. 2021-02-24 19:11:55 +00:00
Robin Mills
6d13e44e5a WIP: Refactored readMetadata() into recursive boxHandler() 2021-02-23 20:05:18 +00:00
Peter Kovář
04481dd753 [WIP] 64-bit length 2021-02-22 11:01:34 +01:00
Peter Kovář
f0a321dedb [WIP] Base Media File Format 2021-02-16 10:10:00 +01:00
Peter Kovář
c608148820 [WIP] Added box types 2021-01-27 12:41:15 +01:00
Peter Kovář
e19fca6640 Small corrections 2021-01-26 16:00:00 +01:00
Robin Mills
fa39234275 Fixing Linux build/test issues. 2021-01-25 16:54:28 +00:00
Robin Mills
0844e1bbfb Rename class ISOBMFF => class bmffImage to match other image handlers. Removed C++11 style code. Removed unused code. 2021-01-25 16:15:55 +00:00
Robin Mills
460a802671 Fix image handler to give jp2image code higher priority than the next isobmff code. 2021-01-24 22:20:42 +00:00
Peter Kovář
92469f4c27 [WIP] Add ISO/IEC Base Media File Format 2021-01-24 15:09:57 +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
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
96ddbc3738 Remove bigtiffimage.hpp from include/exiv2/CMakeLists.txt 2020-09-28 08:12:03 +01:00
clanmills
48afa7548d fix_1329_remove_bigtiff_0.27 2020-09-28 07:43:06 +01:00
Luis Díaz Más
f39b23806b Assume existence of stdint.h 2020-09-16 21:53:49 +02: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
529ffdc418 Use using auto_ptr = std::unique_ptr<T>; on all C++11 (and greater) platforms. Don't include unistd.h on MSVC. 2020-05-04 21:43:59 +01:00
Robin Mills
cd5512e761 WIP. C++11 support 2020-05-04 08:17:37 +01:00
clanmills
f1182b8d73 Only #include<memory> when C++ >= C++11 2020-05-02 17:37:03 +01:00
clanmills
c423b91b92 Change config.h to compile isatty() and getpid() on macOS when -DCMAKE_CXX_STANDARD=98 2020-05-02 14:41:03 +01:00
clanmills
e0f65f7e75 Always include <memory.h> before discussing auto_ptr 2020-05-02 13:06:19 +01:00
clanmills
63a13e8620 Adding option -DEXIV2_BUILD_USE_C++11 2020-05-02 12:21:21 +01:00
Robin Mills
76d2798172 Pushing very helpful suggestion by @lantw44 2019-07-17 22:30:18 +02:00
clanmills
94a777609e fix947_FreeBSD_BasicError_typeinfo 2019-07-17 22:30:18 +02:00
Kevin Backhouse
86816c0280 Fix signed/unsigned mismatch. 2019-05-12 14:15:21 +02:00
Kevin Backhouse
caa4e6745a Avoid negative integer overflow when filesize < io_->tell().
This fixes #791.
2019-05-12 14:15:21 +02:00
Michał Walenciak
a7340a3801 removinf usage of EXIV2_DEPRECATED macro
It can expand to [[deprecated]] which cannot be combined
with result of EXIV2API macro expansion: __attribute__(...)
2019-02-02 09:52:39 +01:00