]> git.ipfire.org Git - thirdparty/cups-filters.git/commit
libcupsfilters: In ghostscript() do not use gray profile on color PCLm
authorTill Kamppeter <till.kamppeter@gmail.com>
Tue, 8 Mar 2022 19:50:07 +0000 (20:50 +0100)
committerTill Kamppeter <till.kamppeter@gmail.com>
Tue, 8 Mar 2022 19:50:07 +0000 (20:50 +0100)
commit2e4472f79f02d764052783fa83c75cf312fde437
treea68745a70e1651b137e15e136b8a5daa898226ab
parent870e86962c8291bb88b919d07ed9165618109eb3
libcupsfilters: In ghostscript() do not use gray profile on color PCLm

The "pclm" output device of Ghostscript only supports 8-bit sRGB
output, no sGray and also no color-to -monochrome conversion. There is
also no way to convert to grayscale by simply applying a gray color
profile.

Applying the gray color profile caused a crash in older versions of
Ghostscript and now is rejected with an error. See

    https://bugs.ghostscript.com/show_bug.cgi?id=705014
cupsfilters/ghostscript.c