[cups.development] Raster Pixel Format

Michael Sweet msweet at apple.com
Wed May 26 08:57:11 PDT 2010


On May 26, 2010, at 8:10 AM, Alexander Cohen wrote:
> 
> On May 26, 2010, at 10:21 AM, Helge Blischke wrote:
> 
>> Alex Cohen wrote:
>> 
>>> Hi,
>>> 
>>> Is there any documentation about how the pixels in a cups_raster_t need to
>>> be formatted when writing them using cupsRasterWritePixels?
>>> 
>>> thx
>>> 
>>> AC
>> 
>> Look at 
>> 
>> http://www.cups.org/documentation.php/doc-1.4/spec-raster.html
>> 
>> for the details.
> 
> Thx, thats what i was looking for. Is there anywhere i can find a better explanation of the "Compressed Raster Data Format" for v2 structures?


That's the extent of the current documentation.  However, as an app using cupsRasterWritePixels you don't need to worry about doing the compression yourself - just pass the same data and CUPS will compress as needed.

________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair








More information about the cups mailing list