plug-ins: increase MAX_CHANNELS in PSD files to 99.

Even though the current specs say max is 56 there
are sample files with more channels. Since there is
no reason why we can't handle more let's increase
the maximum to 99 for now.
This commit is contained in:
Jacob Boerema 2021-05-16 22:58:10 -04:00
parent 32be0ec709
commit 0a703115d1
1 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,8 @@
#define MAX_RAW_SIZE 0 /* FIXME all images are raw if 0 */
/* PSD spec defines */
#define MAX_CHANNELS 56 /* Photoshop CS to CS3 support 56 channels */
/* Although the spec still says 56 there is a test image with more so let's go a little higher to 99 */
#define MAX_CHANNELS 99 /* Photoshop CS to CS3 support 56 channels */
/* PSD spec constants */