Kevin Backhouse
360c6cd41f
Check if the metadata is NULL.
2 years ago
Miloš Komarčević
6b186a4cd2
Add new Exif 3.0 tags
...
(cherry picked from commit eb303ae63e79bf680901951c2ddcc7386f15e71b)
2 years ago
luzpaz
39a4b9b930
Fix various typos
...
Found via `codespell -q 3 -S *.po,*.pot,*.ts,./doc/ChangeLog,./xmpsdk -L alis,discus,filetest,ist,nd,ois,optio,siz,te,tempdate`
Excluded 3rd-party code (ie ./xmpsdk)
2 years ago
Kevin Backhouse
3202e86e73
Avoid triggering assertion in std::vector::operator[]
2 years ago
Kevin Backhouse
96d0e5faf1
Allow c_data() to return zero byte buffer.
2 years ago
Miloš Komarčević
b66ebd9481
Fix regression parsing PNG text chunks with zero length payload
...
(cherry picked from commit 16c1cd7da0cd159ee2d53c39088564edaf046c77)
2 years ago
Rosen Penev
6ee4a168ca
reduce nesting of operator
...
Easier to read
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
norbertwg
f7de846909
clang format
2 years ago
norbertwg
31620a6522
adjust descriptions in canonLiOpId to fit tag name
2 years ago
Miloš Komarčević
05ccb5ae58
Merge pull request #2613 from cytrinox/fuji_xmp_fix
...
Extract XMP data from embedded JPEG preview inside RAF files
2 years ago
Daniel Vogelbacher
c493e38d5a
RAF: Copy comment from embedded JPEG image
2 years ago
Daniel Vogelbacher
f5f1f30f5b
RAF: Ignore JPEG decoder errors if the JPEG offsets are invalid
2 years ago
Thomas Klausner
d92fb10cdb
Fix build on NetBSD.
2 years ago
Miloš Komarčević
c04dcc8341
Remove exiv2-xmp from CMake exported config
2 years ago
Miloš Komarčević
972795741b
Remove exiv2-xmp from pkg-config file
2 years ago
Daniel Vogelbacher
d27c5ac838
RAF: Simplify metadata extraction
...
Remove manual TiffParser usage for reading APP1 segement,
instead use JpegImage for proper parsing.
2 years ago
Daniel Vogelbacher
6c4b6d9d7f
Extract XMP data from embedded JPEG preview inside RAF files
...
The Fujifilm X-T5 camera stores in-camera rating for RAF images
by using XMP. But the XMP data is not directly encoded into the
RAF structure - instead it is attached as a second APP1 segment
to the embedded JPEG preview file.
This patch extracts the JPEG preview and parses it like a standalone
JPEG file.
2 years ago
Miloš Komarčević
53fe85b2c4
BMFF: fix handling of boxes w/ zero length or type
...
(cherry picked from commit f80403767b34818f3298d7ae54e6b36315f3b0a5)
2 years ago
Rosen Penev
c319699ac5
use variadic template
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Rosen Penev
954153a4ec
replace inline with coonstexpr
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Rosen Penev
4c66b4440a
pair noexcept with move operations
...
Typically done with noexcept.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Rosen Penev
37184fd713
fix print format
...
Allows the compiler to actually diagnose formats.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Miloš Komarčević
b4179adab8
Merge pull request #2472 from Exiv2/fix_soversion
...
Fix shared object versioning
2 years ago
Rosen Penev
b2cd60eeac
fix asfvideo unicode handling
...
Use convertStringCharset to convert instead of reimplementing.
Some data is UTF-32 and other is UTF-16. Instead of implementing another
function for Windows, convert from UCS2-LE to UTF-8 twice.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Mohamed Ali Chebbi
7ab4554c41
Update src/jpgimage.cpp
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2 years ago
Mohamed Ali Chebbi
a530cf9d03
Current master fails with image #2565 : segmentation fault when trying to access outofband offest: check all locations
2 years ago
Mohamed Ali Chebbi
e403f3a4c4
Current master fails with image #2565 : segmentation fault when trying to access outofband offest
2 years ago
Mohamed Ali Chebbi
c4e514cff8
Current master fails with image #2565
2 years ago
Rosen Penev
498f4ce273
simplify loops
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Rosen Penev
df91578250
clang-tidy: replace defines with enum
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Rosen Penev
2526dcf5a1
const ref to ref conversions
2 years ago
Rosen Penev
6fd143d6a4
sonarlint cleanups
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Rosen Penev
25189ef1e6
remove some unused defines.
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Rosen Penev
d50d9527b5
convert manual loop to find
2 years ago
Gribouilleuse
bd1e3c9acb
Uppercase Pentax to PENTAX at lines 819 to 822
2 years ago
Gribouilleuse
4074873146
Addition of 4 lenses Pentax
...
Addition of 4 lenses Pentax :
HD Pentax-D FA* 50mm F1.4 SDM AW
HD Pentax-D FA 70-210mm F4 ED SDM WR
HD Pentax-D FA* 85mm F1.4 SDM AW
HD Pentax-D FA 21mm F2.4 ED Limited DC WR
2 years ago
Miloš Komarčević
0db191257d
Support for parsing DCP files
2 years ago
Rosen Penev
c8c289613d
remove EXIV2API from src
...
Already declared in include
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Miloš Komarčević
fbf6100d3a
Update Sony file format table
2 years ago
Rosen Penev
9322f137aa
don't compile WIN32 stuff when iconv is present
...
MinGW has iconv, so this block of code can go away.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Rosen Penev
3633f8d2c2
clang-tidy: remove const from data members
...
Found with cppcoreguidelines-avoid-const-or-ref-data-members
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Rosen Penev
233f404ac7
direct initialize some structs
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Miloš Komarčević
0dd06894b3
makernotes: workaround for Olympus header corruption
2 years ago
Miloš Komarčević
caddbf663d
Fix shared object versioning
2 years ago
Miloš Komarčević
3403dabec2
Add Sony ZV-E1 ID
2 years ago
Miloš Komarčević
2f01f70eaf
Add some more Nikon Z lenses
2 years ago
Rosen Penev
0fa22ed55d
remove codecvt
...
Deprecated in C++17
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Rosen Penev
2e33dad1d1
easyaccess const changes
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Rosen Penev
357d970425
get rid of EXV_CALL_MEMBER_FN
...
std::invoke can be used.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Rosen Penev
05f2731d34
std::array removals
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago