]> git.ipfire.org Git - thirdparty/cups-filters.git/commit
libcupsfilters: Added gray PCLm support to ghostscript()
authorTill Kamppeter <till.kamppeter@gmail.com>
Tue, 12 Apr 2022 08:00:28 +0000 (10:00 +0200)
committerTill Kamppeter <till.kamppeter@gmail.com>
Tue, 12 Apr 2022 08:00:28 +0000 (10:00 +0200)
commit3d498b34d8f9cff7760755e02086c0c34a0823b5
treea12812fbb221512832929b9eb16540d4a8c753a0
parent67bd17fffbfa9bb7acbbe291c7b95b93724989a9
libcupsfilters: Added gray PCLm support to ghostscript()

PCLm does not only support 24-bit sRGB bur also 8-bit sGray. All PCLm
printers, regardless of whether they are color or monochrome accept
these two color spaces. Monochrome printers have to convert color into
gray if needed.

Ghhostscript has a grayscale PCLm output device, "pclm8" since version
9.56.0. We now make use of it if the job is monochrome. This also
allows us to supply the cortrecr sGray ICC profile instead of the sRGB
one.
cupsfilters/ghostscript.c