Dawid Wróbel
84941b7690
.gitlab-ci.yml: enable static builds
2022-09-18 18:41:54 +00:00
Mirco Miranda
21928300c6
Enables opening of XCF files with Width and/or Height greater than 32K
2022-09-13 17:57:57 +00:00
Daniel Novomeský
024d199ed0
Replace C cast with reinterpret_cast
2022-09-11 11:01:55 +02:00
Daniel Novomeský
9ac923ad09
avif: adjust for libavif breaking change in YUV<->RGB conversion
2022-09-09 17:54:18 +02:00
Mirco Miranda
feb6d9b20f
Fix image allocation with Qt 6
...
To make the plugins fail to allocate if the image size is greater than QImageReader::allocationLimit() it is necessary to allocate the image with QImageIOHandler::allocateImage().
Note that not all plugins have been changed and some others are not tested in the CI (maybe due to missing libraries).
PS: the following message is printed by QImageIOHandler::allocateImage() if the size is exceeded: "qt.gui.imageio: QImageIOHandler: Rejecting image as it exceeds the current allocation limit of XXX megabytes"
2022-09-07 14:03:33 +00:00
l10n daemon script
dfbc6e0f8c
GIT_SILENT Upgrade ECM and KF version requirements for 5.98.0 release.
2022-09-05 09:27:11 +00:00
Laurent Montel
43543f96bc
Add FreeBSD Qt6 CI support
2022-08-25 08:20:16 +02:00
Albert Astals Cid
62e477a6f2
Protect against too big resize for a QByteArray
...
oss-fuzz/48480
2022-08-15 10:24:40 +00:00
l10n daemon script
e6955e1f03
GIT_SILENT Upgrade ECM and KF version requirements for 5.97.0 release.
2022-08-07 12:18:50 +00:00
Mirco Miranda
6074c4d6fd
Use right type on enums
2022-07-29 07:46:10 +02:00
Mirco Miranda
6f44c5c52a
PSD: Improve alpha detection
...
BUG: 182496
2022-07-25 19:34:57 +00:00
Mirco Miranda
d030c75925
PSD: LAB support
...
LAB images support:
- Added LAB 8/16-bits support by converting them to sRGB
- The conversion are done using literature formulas (LAB -> XYZ -> sRGB): [sRGB on Wiki](https://en.wikipedia.org/wiki/SRGB ), [LAB on wiki](https://en.wikipedia.org/wiki/CIELAB_color_space )
- Removed unused code
2022-07-06 21:30:23 +00:00
l10n daemon script
9b3133ac92
GIT_SILENT Upgrade ECM and KF version requirements for 5.96.0 release.
2022-07-02 14:33:58 +00:00
Mirco Miranda
b0a0bb1294
PSD header checks according to specifications
2022-06-30 06:56:21 +00:00
Mirco Miranda
3d5090593c
Improved detection of alpha channel on CMYK images
2022-06-30 06:56:21 +00:00
Mirco Miranda
d4966d169b
Minor code optimization
2022-06-30 06:56:21 +00:00
Mirco Miranda
bf52896347
Minor code improvements (tested on all my MCYK PSD/PSB files)
2022-06-30 06:56:21 +00:00
Mirco Miranda
c52ffa2227
Fix Alpha + testcase images
2022-06-30 06:56:21 +00:00
Mirco Miranda
e4e386babf
Fix regression
2022-06-30 06:56:21 +00:00
Mirco Miranda
b47a9d7022
Basic support to CMYK 8/16 bits (not fully tested)
2022-06-30 06:56:21 +00:00
Volker Krause
2cbf815d1f
Require passing tests for the CI to pass
2022-06-29 20:09:38 +02:00
Friedrich W. H. Kossebau
6cd0056f3b
Use ECMDeprecationSettings, bump hidden deprec. API to KF 5.95
...
NO_CHANGELOG
2022-06-28 00:35:18 +02:00
Friedrich W. H. Kossebau
83374f390e
Fix missing init of oneValueArgs variable
...
NO_CHANGELOG
2022-06-28 00:17:56 +02:00
Daniel Novomeský
5e59d950bd
jxl: support both old 0.6.1 and new 0.7.0 libjxl API
...
New libjxl API changed the way how lossless 16bit depth images
must be encoded: codestream level 10 must be set,
which implies use of container format.
Unfortunately, there isn’t version number inside libjxl header yet,
so we must detect new version on cmake/PkgConfig level.
2022-06-22 22:21:33 +00:00
Laurent Montel
de320447f6
Remove extra ';'
2022-06-22 19:52:13 +02:00
Daniel Novomeský
cf375a207f
avif: read performance improvements
2022-06-20 18:50:03 +02:00
l10n daemon script
2aec1d3926
GIT_SILENT Upgrade ECM and KF version requirements for 5.95.0 release.
2022-06-04 08:19:33 +00:00
Adrian Bunk
2a84dd677d
psd: Fix segfault on architectures where char is unsigned (like ARM)
2022-05-27 12:26:56 +03:00
Daniel Novomeský
ebcc34519c
avif: prepare for breaking change in libavif
2022-05-02 11:46:37 +02:00
Mirco Miranda
cff2604cf9
XCF: Support to QImageIOHandler::Size option
2022-04-29 13:23:20 +00:00
Mirco Miranda
f8a251e268
Support to QImageIOHandler::Size option
2022-04-28 08:52:18 +02:00
Mirco Miranda
52134fc2e9
QByteArray resize removal
...
- Removed QByteArray resize with potentially large numbers as in merge request !66
2022-04-14 23:04:58 +00:00
Albert Astals Cid
343954ca98
psd: Fix crash on broken files
...
Instead of resizing the bytearray to the potential size and then reading
into it, ask the device to read into a bytearray, this way instead of a
crash because we're trying to resize to a too big number we get a nice
maxSize argument exceeds QByteArray size limit
warning
oss-fuzz/46664
2022-04-13 23:07:22 +02:00
Mirco Miranda
44fd6b7bc0
psd: duotone read
...
- New format added: Duotone
- Fix float to int conversion round issue
2022-04-11 21:07:23 +00:00
Albert Astals Cid
c8a0806aab
psd: Don't crash with broken images
...
Found by oss-fuzz but still with an unfiled bug number
2022-04-10 12:19:52 +02:00
Albert Astals Cid
bb475dedd1
psd: Header depth has to be 8 for CM_INDEXED color_mode
...
As suggested by Mirco Miranda
2022-04-07 23:50:15 +02:00
Albert Astals Cid
9e28aae868
psd: Protect against broken images
...
If you have an image that says it's Mono but has 16 as header.depth we
end up doing invalid memory accesses
oss-fuzz/46437
2022-04-07 21:46:08 +00:00
Albert Astals Cid
5c47a97b79
psd: Don't abort on broken images
...
oss-fuzz/46418
2022-04-06 22:58:31 +00:00
Daniel Novomeský
84d56d00cf
avif: lossless support
2022-04-06 16:13:10 +00:00
Albert Astals Cid
384f78a13c
psd: Don't assert on broken files
...
oss-fuzz/46407
2022-04-06 00:16:38 +02:00
Nicolas Fella
72fc32aefc
Add windows CI
2022-04-05 15:45:38 +02:00
Mirco Miranda
98f19c60ae
PSD: Performance improvements and support to missing common formats
...
- Supersedes merge request !55 (PSB support, XMP metadata, ICC color profile, image resolution read)
- Performance improvements: 5 time faster than previous version (tested on a 3.9GB PSB: 9sec instead 47sec)
- New formats support added: INDEXED (8bps), BITMAP (1bps), GRAYSCALE (8, 16, 32bps), RGB (32bps)
- Should fix Bug https://bugs.kde.org/show_bug.cgi?id=397610
- Fix Bug https://bugs.kde.org/show_bug.cgi?id=428238
2022-04-04 17:22:45 +00:00
l10n daemon script
ae6b724824
GIT_SILENT Upgrade ECM and KF version requirements for 5.93.0 release.
2022-04-02 10:00:12 +00:00
Mirco Miranda
3e751dd80d
Fix XCF parasites metadata in QImage and support to ICC profile
...
- Fix parasite "gimp-comment" not set due to null QImage
- Support to parasite "icc-profile" using Qt 5.14+ API
- Added parasite "gimp-image-metadata" as QImage metadata "XML:org.gimp.xml"
- Added a XCF with XML metadata and icc prifile embedded in autotest folder (generated by GIMP 2.10.30)
- Tested with Qt 5.15.2 and Qt 6.2.3 under Windows and Qt 6.2.3 under macOS
2022-03-23 23:34:33 +00:00
Daniel Novomeský
e69dff73e6
avif: encoder speed 7->6
2022-03-10 09:44:50 +01:00
Daniel Novomeský
64cfe52bee
avif: fix jumpToImage
2022-03-10 09:39:53 +01:00
Daniel Novomeský
8732fc8487
avif: warn about non-recommended libavif configuration
2022-03-10 09:35:08 +01:00
l10n daemon script
d9729b7190
GIT_SILENT Upgrade ECM and KF version requirements for 5.92.0 release.
2022-03-05 11:15:00 +00:00
Volker Krause
55d3c568b2
Add Qt6 Android CI
2022-03-01 16:04:48 +00:00
Albert Astals Cid
4afafee6c1
Add write tests for heif/avif/jxl
...
Unfortunately none of them pass since it seems they can't load a png,
save it to their format with loseless quality and read it back and get
exactly the same contents than the png
2022-02-18 00:05:01 +01:00