kimageformats/autotests/read/psd
Mirco Miranda e96b43aef5 psd: Fix alpha blending (KF5)
PSD files are saved with as alpha premultiplied. The problem is that alpha refers to white instead of black so it requires transformation formulas. Then, to conver PS premultiplied to QImage premultiplied you have to use the following formula:

* V = Alpha + Vps - Max (C, M, Y, K, R, G, B, Gray, L\* components)
* V = Vps + (Alpha - Max + 1) / 2 (a\*, b\* components)

Where Max is the maximum value depending on the image depth and Vps is the valued read from the file.

This is a port of MR !143 to KF5.
2023-03-29 17:58:09 +00:00
..
8bit-grayscale.png PSD: Performance improvements and support to missing common formats 2022-04-04 17:22:45 +00:00
8bit-grayscale.psd PSD: Performance improvements and support to missing common formats 2022-04-04 17:22:45 +00:00
8bit-photoshop.png PSD: Performance improvements and support to missing common formats 2022-04-04 17:22:45 +00:00
8bit-photoshop.psb PSD: Performance improvements and support to missing common formats 2022-04-04 17:22:45 +00:00
16bit_grayscale.png PSD: Performance improvements and support to missing common formats 2022-04-04 17:22:45 +00:00
16bit_grayscale.psd PSD: Performance improvements and support to missing common formats 2022-04-04 17:22:45 +00:00
16bit_photoshop.png PSD: Performance improvements and support to missing common formats 2022-04-04 17:22:45 +00:00
16bit_photoshop.psb PSD: Performance improvements and support to missing common formats 2022-04-04 17:22:45 +00:00
16bit-rle.png Add test case for RLE compressed 16 bpc PSD files. 2020-11-06 15:04:04 +08:00
16bit-rle.psd Add test case for RLE compressed 16 bpc PSD files. 2020-11-06 15:04:04 +08:00
32bit_grayscale.png psd: duotone read 2022-04-11 21:07:23 +00:00
32bit_grayscale.psd PSD: Performance improvements and support to missing common formats 2022-04-04 17:22:45 +00:00
32bit-rgb.png psd: duotone read 2022-04-11 21:07:23 +00:00
32bit-rgb.psd PSD: Performance improvements and support to missing common formats 2022-04-04 17:22:45 +00:00
53alphas.png psd: Fix alpha blending (KF5) 2023-03-29 17:58:09 +00:00
53alphas.psd Fix maximum number of channels (testcase added) 2022-09-22 21:17:10 +00:00
adobehq-2_5.png PSD: Performance improvements and support to missing common formats 2022-04-04 17:22:45 +00:00
adobehq-2_5.psd PSD: Performance improvements and support to missing common formats 2022-04-04 17:22:45 +00:00
argb16-raw-affinityphoto-1.8.5.png psd: Fix alpha blending (KF5) 2023-03-29 17:58:09 +00:00
argb16-raw-affinityphoto-1.8.5.psd Return unsupported when reading 16bit RLE compressed PSD files 2020-11-01 11:50:48 +08:00
birthday.pdd PSD: Performance improvements and support to missing common formats 2022-04-04 17:22:45 +00:00
birthday.png psd: Fix alpha blending (KF5) 2023-03-29 17:58:09 +00:00
bitmap.png PSD: Performance improvements and support to missing common formats 2022-04-04 17:22:45 +00:00
bitmap.psd PSD: Performance improvements and support to missing common formats 2022-04-04 17:22:45 +00:00
ccbug182496.png PSD: Improve alpha detection 2022-07-25 19:34:57 +00:00
ccbug182496.psd PSD: Improve alpha detection 2022-07-25 19:34:57 +00:00
cmyka-8bits.png Fix Alpha + testcase images 2022-06-30 06:56:21 +00:00
cmyka-8bits.psd Fix Alpha + testcase images 2022-06-30 06:56:21 +00:00
cmyka-16bits.png Fix Alpha + testcase images 2022-06-30 06:56:21 +00:00
cmyka-16bits.psd Fix Alpha + testcase images 2022-06-30 06:56:21 +00:00
duotone.png psd: duotone read 2022-04-11 21:07:23 +00:00
duotone.psb psd: duotone read 2022-04-11 21:07:23 +00:00
indexed.png PSD: Performance improvements and support to missing common formats 2022-04-04 17:22:45 +00:00
indexed.psd PSD: Performance improvements and support to missing common formats 2022-04-04 17:22:45 +00:00
laba_8bit.png psd: Fix alpha blending (KF5) 2023-03-29 17:58:09 +00:00
laba_8bit.psd PSD: LAB support 2022-07-06 21:30:23 +00:00
laba_16bit.png psd: Fix alpha blending (KF5) 2023-03-29 17:58:09 +00:00
laba_16bit.psd PSD: LAB support 2022-07-06 21:30:23 +00:00
mch-8bits.png PSD multichannel testcases 2022-11-15 16:25:22 +00:00
mch-8bits.psd PSD multichannel testcases 2022-11-15 16:25:22 +00:00
mch-16bits.png PSD multichannel testcases 2022-11-15 16:25:22 +00:00
mch-16bits.psd PSD multichannel testcases 2022-11-15 16:25:22 +00:00
rgb16-raw-affinityphoto-1.8.5.png No longer descease color depth to 8 for 16 bit uncompressed PSD files 2020-11-10 13:03:37 +08:00
rgb16-raw-affinityphoto-1.8.5.psd Return unsupported when reading 16bit RLE compressed PSD files 2020-11-01 11:50:48 +08:00
rgb-gimp-2.8.10.png Add simple autotests 2014-02-03 15:03:29 +00:00
rgb-gimp-2.8.10.psd Add simple autotests 2014-02-03 15:03:29 +00:00