a0df142408
Don't install desktop files for image formats when building against Qt6
...
These are only for kdelibs4support/KServiceTypeTrader
2022-11-03 21:36:38 +01:00
8586bb4719
raw: Don't seek back if we were asked to read too much
...
Otherwise we will return false when LibRaw::derror
calls for eof() when it is actually that we have reached eof
2022-10-30 23:59:55 +01:00
d734f28727
jxl: indicate when all frames have been read
...
and return correct loop count
2022-10-18 17:58:40 +02:00
afa7399b36
avif: minor fixes
...
libavif 0.11.0 uses new default dimension limit 32768 pixels,
we allow 65535 which was used by us previously.
Minor tweaks in jumpToNextImage, jumpToImage
to handle rare situations.
2022-10-18 15:05:15 +02:00
bfb12093ad
avif: indicate when all frames have been read
2022-10-15 20:08:39 +02:00
1190e53e9b
avif: always indicate endless loop
...
avif does not support loops but endless loop was the behavior before
460085 was fixed, so a workaround is added.
See also: https://github.com/AOMediaCodec/libavif/issues/347
CCBUG: 460085
2022-10-15 14:11:56 +08:00
350ce1b990
avif: return false
in canRead()
when imageIndex >= imageCount
...
Otherwise when `cache: false` is set in AnimatedImage, QMovie will try
to read the image forever.
BUG: 460085
FIXED-IN: 5.100
2022-10-15 14:02:38 +08:00
bcbf45e23a
Add JXL test files corresponding to 8 EXIF orientation values
2022-10-13 15:47:04 +02:00
c71a7984d6
Add AVIF test files with rotation and mirror operations
2022-10-12 15:39:27 +02:00
b1f3a87896
Auto-rotate input images in readtest
...
Currently, there is no difference in the tests but in the future
we will add images with various transformations defined.
2022-10-12 15:33:08 +02:00
8af9a0f9d9
jxl: remove C-style casts
2022-10-11 15:38:55 +02:00
3790a89cd1
avif: Use reinterpret_cast instead C cast
...
No longer using int for QByteArray size because Qt6 uses qsizetype
2022-10-11 15:05:20 +02:00
f475a4b24a
avif: revert 9ac923ad09
commit
...
Changes to libavif's avifImageRGBToYUV() API were reverted too.
2022-10-11 14:36:17 +02:00
d2f38b8b9c
heif: replace C cast with static_cast
2022-10-10 09:28:41 +00:00
9ab64dbf22
heif: use heif_init/heif_deinit with libheif 1.13.0+
...
In recent libheif, application should use
heif_init/heif_deinit calls. Unfortunately, these calls are
not thread-safe in released 1.13.0 version yet (will be in the
future) and HEIFHandler is often created in different threads.
So we have to guard their use with a mutex.
2022-10-10 09:28:41 +00:00
20f74ce5e6
FindLibRaw: fix include dir, should not contain prefix libraw/
...
See also the examples at https://www.libraw.org/docs/API-CXX.html
BUG: 460105
2022-10-08 02:15:18 +02:00
54129819d5
Fix duplicated tests
2022-10-02 06:01:23 +00:00
181eb253c6
ANI partial test and PIC test added
2022-10-02 06:01:23 +00:00
c5f7ea7eac
PSD: impreved support to sequential access device
2022-10-02 06:01:23 +00:00
ea14882ff7
Fix messages
2022-10-02 06:01:23 +00:00
f8bfdce285
CMakeLists: enable EXR test
2022-10-02 06:01:23 +00:00
524f083ee4
Added EXR test image
2022-10-02 06:01:23 +00:00
c96ad6ba8a
Fixes for sequential devices
2022-10-02 06:01:23 +00:00
49bd131eef
GIT_SILENT Upgrade ECM and KF version requirements for 5.99.0 release.
v5.99.0
v5.99.0-rc1
2022-10-01 13:17:36 +00:00
2a25ec7a56
Add Qt6 windows CI support
2022-09-27 15:15:36 +00:00
a8a477ae67
pcx: Do not support sequential devices
...
We need QIODevice::pos() to work in QDataStream &operator>>.
BUG: 459541
2022-09-24 03:45:21 +02:00
2f27dff48b
Fix maximum number of channels (testcase added)
2022-09-22 21:17:10 +00:00
72a1cc23b1
Use consistently std::as_const instead of qAsConst
...
NO_CHANGELOG
2022-09-22 15:59:15 +02:00
6f3a326cf8
LibRaw_QIODevice::seek() avoid seek on a sequential device
2022-09-21 02:14:55 +02:00
d881a7bbb1
LibRaw_QIODevice::seek() bounding checks
2022-09-20 19:44:08 +02:00
65a20b43fc
Camera RAW images plugin
...
Plugin to read RAW camera images based on LibRAW.
- Supersedes MR !86
- Support to LibRaw 0.20 and 0.21-Beta
- Support to multi-shot images: use imageCount(), jumpToImage() to select the wanted shot
- By default generates 16-bits sRGB images using camera white balance and interpolation AHD
- Should fix CCBUG: 454208: on my Debian with KF5.96 and the pulgin installed, I see the preview of all my RAW files (ARW included) in Dolphin
News compared to V1 (MR !86 )
- Fix possible stack overflow due to the huge size of LibRaw class
- Fix image allocation with Qt 6 (make use of QImageIOHandler::allocateImage())
- Support to XMP metapacket
- Support to quality option. For e.g. you can focus on quality (q = 10) or speed (q = 1)
- oss-fuzz available [here](https://github.com/mircomir/oss-fuzz/tree/raw_fuzz/projects/kimageformats )
2022-09-19 23:52:43 +00:00
84941b7690
.gitlab-ci.yml: enable static builds
2022-09-18 18:41:54 +00:00
21928300c6
Enables opening of XCF files with Width and/or Height greater than 32K
2022-09-13 17:57:57 +00:00
024d199ed0
Replace C cast with reinterpret_cast
2022-09-11 11:01:55 +02:00
9ac923ad09
avif: adjust for libavif breaking change in YUV<->RGB conversion
2022-09-09 17:54:18 +02:00
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
dfbc6e0f8c
GIT_SILENT Upgrade ECM and KF version requirements for 5.98.0 release.
v5.98.0
v5.98.0-rc1
2022-09-05 09:27:11 +00:00
43543f96bc
Add FreeBSD Qt6 CI support
2022-08-25 08:20:16 +02:00
62e477a6f2
Protect against too big resize for a QByteArray
...
oss-fuzz/48480
2022-08-15 10:24:40 +00:00
e6955e1f03
GIT_SILENT Upgrade ECM and KF version requirements for 5.97.0 release.
v5.97.0
v5.97.0-rc1
2022-08-07 12:18:50 +00:00
6074c4d6fd
Use right type on enums
2022-07-29 07:46:10 +02:00
6f44c5c52a
PSD: Improve alpha detection
...
BUG: 182496
2022-07-25 19:34:57 +00:00
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
9b3133ac92
GIT_SILENT Upgrade ECM and KF version requirements for 5.96.0 release.
v5.96.0
v5.96.0-rc1
2022-07-02 14:33:58 +00:00
b0a0bb1294
PSD header checks according to specifications
2022-06-30 06:56:21 +00:00
3d5090593c
Improved detection of alpha channel on CMYK images
2022-06-30 06:56:21 +00:00
d4966d169b
Minor code optimization
2022-06-30 06:56:21 +00:00
bf52896347
Minor code improvements (tested on all my MCYK PSD/PSB files)
2022-06-30 06:56:21 +00:00
c52ffa2227
Fix Alpha + testcase images
2022-06-30 06:56:21 +00:00
e4e386babf
Fix regression
2022-06-30 06:56:21 +00:00