[poppler] Splash SPOT_NCOMPS != 4 ?

Tobias Deiminger haxtibal at posteo.de
Thu Aug 27 19:49:33 UTC 2020


Hi,

out of curiosity and not important, does anybody know in which case 
Splashs SPOT_NCOMPS would not be 4?

Preprocessor directives in splash/SplashTypes.h suggest that SPOT_NCOMPS 
is intended to be set at compile time, and 4 is just the default value:

#ifndef SPOT_NCOMPS
#    define SPOT_NCOMPS 4
#endif

There was even a bugfix to handle SPOT_NCOMPS != 4 correctly [0].

But then I don't see a CMake option or something to define SPOT_NCOMPS 
in a user friendly way. Who would change it, how, and why?

Tobias


[0] 
https://gitlab.freedesktop.org/poppler/poppler/commit/1750c0155762e75d0a80ab55b50d1bfd172c2430


More information about the poppler mailing list