![]() ![]() Lines are grouped into an integral number of color values based upon the cupsColorOrder setting: The version 2 raster data is compressed using a PackBits-like algorithm. ![]() Table 2: CUPS Version 2 Raster Page Device Dictionary Bytesįour floating point numbers giving the left, bottom, right, and top positions of the page bounding box in points Each page starts with a version 2 page device dictionary header and is followed immediately by the compressed raster data for that page. The CUPS Imaging API raster functions perform this function automatically.įollowing the synchronization word are a series of raster pages. The writer of the raster file will use the native word order, and the reader is responsible for detecting a reversed word order file and swapping bytes as needed. KKK.)ġ8 = sGray (gray using sRGB gamma/white point)ģ2 = ICC1 (CIE Lab with hint for 1 color)ģ3 = ICC2 (CIE Lab with hint for 2 colors)ģ4 = ICC3 (CIE Lab with hint for 3 colors)ģ5 = ICC4 (CIE Lab with hint for 4 colors)ģ6 = ICC5 (CIE Lab with hint for 5 colors)ģ7 = ICC6 (CIE Lab with hint for 6 colors)ģ8 = ICC7 (CIE Lab with hint for 7 colors)ģ9 = ICC8 (CIE Lab with hint for 8 colors)Ĥ0 = ICC9 (CIE Lab with hint for 9 colors)Ĥ1 = ICCA (CIE Lab with hint for 10 colors)Ĥ2 = ICCB (CIE Lab with hint for 11 colors)Ĥ3 = ICCC (CIE Lab with hint for 12 colors)Ĥ4 = ICCD (CIE Lab with hint for 13 colors)Ĥ5 = ICCE (CIE Lab with hint for 14 colors)Ĥ6 = ICCF (CIE Lab with hint for 15 colors)Ī version 2 raster file begins with a 32-bit synchronization word: 0x52615332 ("RaS2") for big-endian architectures or 0x32536152 ("2SaR") for little-endian architectures. Media weight in grams per meter squared, 0 = printer defaultĠ = Do not change trays if selected tray is emptyġ = Change trays if selected tray is emptyĠ = Do not rotate even pages when duplexingġ, 2, 4, 8 bits for version 1 raster filesġ, 2, 4, 8, and 16 bits for version 2/3 raster filesġ to 240 bits for version 2/3 raster filesĢ = planar pixels (CCC. Left and bottom origin of image in points Horizontal and vertical resolution in dots-per-inch.įour integers giving the left, bottom, right, and top positions Table 1: CUPS Version 1 Raster Page Device Dictionary Bytes Each page consists of a header (the PostScript page device dictionary and raster-specific values) followed by the bitmap image for the page. ![]() Each file begins with a 32-bit synchronization word followed by zero or more pages. Organization of a CUPS Raster Fileįigure 1, "Raster Organization", shows the general organization of all CUPS Raster files. The registered MIME media type for CUPS Raster files is application/vnd.cups-raster. All three versions of CUPS Raster are streamable formats, and applications using the CUPS Imaging API (the cupsRaster* functions) can read all formats without code changes. CUPS 1.2 and later use version 2 (compressed) and version 3 (uncompressed) that are a superset of the version 1 raster format. These files are used to transfer raster data from the PostScript and image file RIPs to device-dependent filters that convert the raster data to a printable format.ĬUPS 1.0 and 1.1 used version 1 of the raster format. CUPS Raster files are device-dependent raster image files that contain a PostScript page device dictionary and device-dependent raster imagery for each page in the document. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |