PSD: add support for GrayA (8/16/32 bit) and Gray 32 bit

This commit is contained in:
Mirco Miranda
2025-11-16 10:15:10 +01:00
parent 472ff92b96
commit 8061500b79
12 changed files with 136 additions and 6 deletions

View File

@ -414,6 +414,8 @@ PSD support has the following limitations:
- Multichannel images are treated as CMYK if they have 2 or more channels.
- Multichannel images are treated as Grayscale if they have 1 channel.
- Duotone images are treated as grayscale images.
- Grayscale images with alpha channel or at 32 bit depth are converted to
RGBA due to the lack of the appropriate Qt grayscale container.
- Extra channels other than alpha are discarded.
The following defines can be defined in cmake to modify the behavior of the