You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
Specifics: this will add DeviceN colorspaces (15 of them) to the CUPS raster format, but no changes need to be made to the imagetoraster filter since we can't generate them.
Activity
michaelrsweet commentedon Nov 15, 2009
CUPS.org User: mike
Specifics: this will add DeviceN colorspaces (15 of them) to the CUPS raster format, but no changes need to be made to the imagetoraster filter since we can't generate them.
michaelrsweet commentedon Jun 16, 2010
CUPS.org User: mike
Moving to CUPS 1.5. Patch attached.
Will likely include in CUPS 1.4.5 since it doesn't affect the filters or APIs.
michaelrsweet commentedon Aug 16, 2010
CUPS.org User: mike
Moving to 1.4.x.
michaelrsweet commentedon Aug 31, 2010
"str3419.patch":
Index: cups/raster.h
--- cups/raster.h (revision 9144)
+++ cups/raster.h (working copy)
@@ -1,9 +1,9 @@
/*
*
*
@@ -86,26 +86,28 @@
typedef enum cups_cspace_e /**** cupsColorSpace attribute values ****/
{
CUPS_CSPACE_CIEXYZ = 15, /* CIE XYZ @SInCE CUPS 1.1.19/Mac OS X 10.3@ /
CUPS_CSPACE_CIELab = 16, / CIE Lab @SInCE CUPS 1.1.19/Mac OS X 10.3@ */
CUPS_CSPACE_ICC1 = 32, /* ICC-based, 1 color @SInCE CUPS 1.1.19/Mac OS X 10.3@ /
CUPS_CSPACE_ICC2 = 33, / ICC-based, 2 colors @SInCE CUPS 1.1.19/Mac OS X 10.3@ /
@@ -121,7 +123,23 @@
CUPS_CSPACE_ICCC = 43, / ICC-based, 12 colors @SInCE CUPS 1.1.19/Mac OS X 10.3@ /
CUPS_CSPACE_ICCD = 44, / ICC-based, 13 colors @SInCE CUPS 1.1.19/Mac OS X 10.3@ /
CUPS_CSPACE_ICCE = 45, / ICC-based, 14 colors @SInCE CUPS 1.1.19/Mac OS X 10.3@ */
+
} cups_cspace_t;
typedef enum cups_cut_e /**** CutMedia attribute values ****/
Index: filter/imagetoraster.c
--- filter/imagetoraster.c (revision 9144)
+++ filter/imagetoraster.c (working copy)
@@ -481,6 +481,7 @@
switch (header.cupsColorSpace)
{
case CUPS_CSPACE_W :
if (header.cupsBitsPerColor >= 8)
{
primary = CUPS_IMAGE_WHITE;
@@ -493,10 +494,11 @@
}
break;
case CUPS_CSPACE_RGB :
case CUPS_CSPACE_RGBA :
case CUPS_CSPACE_RGBW :
if (header.cupsBitsPerColor >= 8)
{
primary = CUPS_IMAGE_RGB;
@@ -540,6 +542,42 @@
primary = CUPS_IMAGE_CMY;
secondary = CUPS_IMAGE_CMY;
break;
break;
}
Index: filter/raster.c
--- filter/raster.c (revision 9144)
+++ filter/raster.c (working copy)
@@ -1,9 +1,9 @@
/*
*
*
@@ -915,6 +915,7 @@
case CUPS_CSPACE_WHITE :
case CUPS_CSPACE_GOLD :
case CUPS_CSPACE_SILVER :
break;
@@ -923,6 +924,8 @@
case CUPS_CSPACE_YMC :
case CUPS_CSPACE_CIEXYZ :
case CUPS_CSPACE_CIELab :
case CUPS_CSPACE_ICC2 :
case CUPS_CSPACE_ICC3 :
@@ -957,6 +960,25 @@
else
r->header.cupsNumColors = 4;
break;
+
}