kimageformats/autotests
Mirco Miranda 402dfb5de3 psd: Fix alpha blending
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.
2023-03-29 17:55:55 +00:00
..
ani Add plugin for animated Windows cursors (ANI) 2021-01-03 08:49:10 +00:00
pic Make PSD image reader endianess-agnostic. 2015-02-20 23:03:10 +00:00
read psd: Fix alpha blending 2023-03-29 17:55:55 +00:00
write Fix writing TGA alpha depth flag 2023-02-01 16:26:31 -06:00
anitest.cpp Add plugin for animated Windows cursors (ANI) 2021-01-03 08:49:10 +00:00
CMakeLists.txt Remove Qt 5 support 2023-01-24 17:15:14 +01:00
fuzzyeq.cpp Add write tests for heif/avif/jxl 2022-02-18 00:05:01 +01:00
long-runs.pic Rewrite the PIC image format handler 2014-05-04 13:42:30 +01:00
pictest.cpp Run clang-format on all cpp/h files 2021-03-08 20:15:33 +02:00
readtest.cpp Bump Qt deprecation level to 6.4 2023-02-01 17:16:45 +01:00
writetest.cpp Bump Qt deprecation level to 6.4 2023-02-01 17:16:45 +01:00