We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e4520c commit aed871fCopy full SHA for aed871f
server/postpic.c
@@ -273,6 +273,9 @@ Datum image_new(PG_FUNCTION_ARGS)
273
} else if(ccs == CS_CMYK.oid) {
274
map = "CMYK";
275
iinfo->colorspace = CMYKColorspace;
276
+ } else if(ccs == CS_GRAY.oid) {
277
+ map = "PPPI";
278
+ iinfo->colorspace = GRAYColorspace;
279
} else {
280
elog(ERROR, "Unsupported colorspace %d", color->cs);
281
/* Not needed, just to make the compiler happy */
0 commit comments