Mirco Miranda and Mirco Miranda
60d2638e63
Fix for alpha channel handling and sRGB color profiles.
2026-10-07 23:22:36 +02:00
Daniel Novomeský
aee9dd7fe1
ossfuzz: update dependencies
...
openexr 3.5.x
libaom 3.15.1
added libjpeg-turbo (dependency of libheif)
Remove obsolete patch for libheif/security_limits.h
2026-10-07 19:36:59 +02:00
Albert Astals Cid
40ed3e4e27
oss-fuzz: Get a newer cmake from pip
2026-10-06 22:38:24 +02:00
Sertonix Norson and Mirco Miranda
e539ca748f
Enable perceptiveFuzzer for write tests
...
Fixes kimageformats-write-exr test on Alpine Linux armhf, armv7,
loongarch64, ppc64le, riscv64 and s390x.
Working alternatives are increasing fuzziness to 10 or using 64bpp
formats as compareFormat.
2026-10-06 04:37:46 +02:00
Sertonix Norson
cb74a20421
EXIF: always use little-endian for UTF-16
...
In practice UTF-16 (especially from windows) uses little-endian without
a BOM. By default Qt uses host endianess which causes TIFF_XPTITLE and
TIFF_XPKEYWORDS to not be read correctly.
Fixes c21b50d699
2026-10-05 12:28:36 +02:00
Sertonix Norson and Daniel Novomeský
af34c774d3
avif: increase fuzziness in invalid-exif.avif.json to 44
...
Fixes kimageformats-read-avif test failure on Alpine Linux s390x
Ref https://invent.kde.org/frameworks/kimageformats/-/merge_requests/530#note_1561068
2026-10-03 23:13:16 +00:00
Sertonix Norson and Albert Astals Cid
104643bf09
IFF: fix BODYChunk::deinterleave on big-endian
...
Qt accesses the data of QImage::Format_RGBX64 and QImage::Format_RGBA64
as host-endian quint16. Having BODYChunk::deinterleave write the data
with host-endian to fix parsing on big-endian systems.
2026-10-03 10:43:42 +00:00
Sertonix Norson and Albert Astals Cid
9a45321440
IFF: fix DBODChunk::strideRead on big-endian
...
On big-endian systems the uint16 data should stay big-endian.
2026-10-03 10:43:42 +00:00
Sertonix Norson and Albert Astals Cid
f5ba223e15
TIM: fix 16BPP on big-endian
...
Despite the QImage::scanLine doc only warning about byte order issues
for 32-bpp formats[0] the same warning seems to apply to 16BPP formats
like QImage::Format_RGB555 as well.
[0]: https://doc.qt.io/qt-6/qimage.html#scanLine
2026-10-03 10:34:55 +00:00
Sertonix Norson and Albert Astals Cid
e23328fda8
FF: replace broken #if Q_LITTLE_ENDIAN
...
Q_LITTLE_ENDIAN was used incorrectly, it should have been
"#if Q_BYTE_ORDER == Q_LITTLE_ENDIAN"
Use qFromBigEndian since it is more explicit.
Fixes 6d5e61f0b0
2026-10-03 10:22:23 +00:00
Mirco Miranda and Nicolas Fella
8b8eb91f2b
Disable LSAN due to obsolete JXRLIB on CI
2026-10-02 16:02:55 +02:00
Nicolas Fella
5e3c759e21
Update version to 6.32.0
2026-10-02 15:49:57 +02:00
Nicolas Fella
6efce8ae4e
Update dependency version to 6.31.0
v6.31.0-rc1
v6.31.0
2026-10-02 14:17:42 +02:00
Albert Astals Cid
a8f5e16453
GIT_SILENT Upgrade CMake version requirement to 3.30.
...
See https://community.kde.org/Frameworks/Policies
2026-09-30 18:37:40 +02:00
Albert Astals Cid
fe27d49f2f
GIT_SILENT Upgrade Qt6 version requirement to 6.10.0.
...
See https://community.kde.org/Frameworks/Policies
2026-09-30 18:02:02 +02:00
Nicolas Fella
ff1fdf660e
Enable LSAN in CI
...
To check for leaks
2026-09-29 11:12:27 +02:00
Mirco Miranda
5e5072d590
EXR: store of "adobe_rsrc" attribute with XMP/EXIF/Resolution data
2026-09-10 16:44:54 +02:00
Mirco Miranda and Mirco Miranda
6a3c7f2c86
EXR: support for metadata saved by Photoshop
2026-09-10 07:36:10 +02:00
Albert Astals Cid
43e6efb0e5
ANIHandler::nextImageDelay: Protect against overflow
...
oss-fuzz:
issue #558190560
testcase #6629308500869120
2026-09-09 18:36:51 +00:00
Daniel Novomeský
b7a407a752
autotests: add AVIF image-grid image to read test
2026-09-08 16:43:31 +02:00
Daniel Novomeský
62c45582df
ossfuzz: update libaom to 3.15.0
2026-09-08 14:20:50 +02:00
Mirco Miranda and Mirco Miranda
a738553dc9
EXR: fix alpha channel imperpretation
2026-09-04 18:40:44 +02:00
Mirco Miranda and Mirco Miranda
0862db49b8
EXR: RGB / YC subtype support
2026-09-04 18:40:44 +02:00
Nicolas Fella
05af59e819
Update version to 6.31.0
2026-09-04 14:36:24 +02:00
Nicolas Fella
5d6dfb9012
Update dependency version to 6.30.0
v6.30.0-rc1
v6.30.0
2026-09-04 13:26:17 +02:00
Albert Astals Cid
72518dcc1a
jp2: Fix new[] vs delete by not doing new[]
...
unique_ptr will call delete which is not the right thing to do with
memory allocated with new[]
BUGS: 525120
2026-09-03 00:13:53 +02:00
Mirco Miranda and Albert Astals Cid
a6027264d4
qRoundOrZero_T: fix possible assert in qRound
...
also:
- qRoundOrZero_T: added documentation
- EXR: I don't set the ISO Speed if it's zero.
BUG: 524678
2026-08-26 22:45:12 +00:00
Daniel Novomeský
47ea774621
autotests: Add non-standard HEIF image
2026-08-24 18:49:54 +02:00
Daniel Novomeský
5ed0affc95
heif: re-enable decoding of non-standard images
...
BUG: 495686
IMG_20241019_195232.heic stopped decoding recently because
buffer.contains("Xiaomi") is almost all the time false
(only start of the file is stored now),
except sequential devices (full file is stored).
2026-08-24 12:02:58 +02:00
Daniel Novomeský
42e9733060
Add HEIC test files with crop transformation
2026-08-20 22:21:48 +02:00
Daniel Novomeský
bae45287ad
heif: check crop values
2026-08-20 19:20:10 +02:00
Daniel Novomeský
458257b7a3
jxl: Do not rewind after reading final frame
2026-08-18 08:48:40 +00:00
Aljo Joby
09452b0964
rgb: reject RLE start offsets that underflow the raster data
...
The start table is stored as file offsets. We subtract the
header+table size to get an index into the remaining data.
If the file offset is smaller than that, the subtract wraps
and the later start+length check can wrap too.
Drop the file instead of walking off the buffer.
2026-08-14 21:03:38 +05:30
Daniel Novomeský
c7baa057a6
avif: Do not rewind in jumpToNextImage()
2026-08-10 20:10:46 +02:00
Daniel Novomeský
c57af25d36
ossfuzz: call functions used in animations
2026-08-10 17:46:33 +00:00
Nicolas Fella
320ded493a
Update version to 6.30.0
2026-08-07 23:07:47 +02:00
Nicolas Fella
8509ac7444
Update dependency version to 6.29.0
v6.29.0-rc1
v6.29.0
2026-08-07 22:22:28 +02:00
Daniel Novomeský
a11c1feb23
autotests: add AVIF and JXL with animation
2026-08-06 13:08:53 +02:00
Mirco Miranda
2e199eea80
KRA/ORA: merged in a single plugin and added metadata support
...
- ORA/KRA: merged in a single plugin (KRA)
- ORA: removed standalone plugin
- KRA: use of logging category
- KRA: add metadata support by processing the embedded `documentinfo.xml`
- Improved signature lookup (see MR !17 ) and added test case
2026-07-29 07:42:42 +02:00
Mirco Miranda and Mirco Miranda
516750e6fc
Readme: update supported formats
2026-07-28 09:44:58 +02:00
Mirco Miranda
687914f2e7
Test Readme: added JPG support
2026-07-28 07:19:12 +02:00
Daniel Novomeský
5c3bdcddf2
avif: enable decoding of files with invalid EXIF metadata
...
When 1st parsing ends with invalid EXIF payload error,
we try 2nd time again while ignoring the EXIF metadata.
Dropped support for legacy 0.x libavif versions,
libavif 1.0.0+ is now required for the AVIF support.
2026-07-27 12:33:25 +00:00
Daniel Novomeský
abc2ac2de1
autotests: allow JPG as test source
...
In special cases, JPG with fuzziness value
can be used instead of big PNG files.
2026-07-27 12:33:25 +00:00
Mirco Miranda
66d7d7c154
QOI: check format only in lowercase
2026-07-27 10:05:33 +02:00
Daniel Novomeský
65b4b14d6f
ossfuzz: optimize build, collect all HEIF subformats
...
Upgrade OpenEXR
2026-07-24 16:02:37 +02:00
Daniel Novomeský
a4db968c60
fix HEIC writetest
2026-07-23 10:42:33 +02:00
Daniel Novomeský
27c621901d
ossfuzz: enable uncompressed codec in libheif
...
libheif uses ZLIB and Brotli for the uncompressed codec,
so the libheif will be built after libjxl,
which installs brotli libraries.
2026-07-22 17:21:27 +02:00
Daniel Novomeský
7ec1170c86
heif: declare read support for HIF
...
image/heif MIME type uses following three file extensions:
heif, heic, hif.
Adding HIF into plugin's list.
2026-07-20 18:23:20 +02:00
Mirco Miranda and Mirco Miranda
c21b50d699
EXIF: add support for Windows Explorer tags
2026-07-20 07:27:34 +02:00
Daniel Novomeský
a0825fe5cb
heif: increase Maximum number of child boxes limit
2026-07-18 12:59:37 +02:00