All of lore.kernel.org
 help / color / mirror / Atom feed
* [Printing-architecture] pwgtoraster vs calibrated spaces
@ 2014-05-31  9:30 James Cloos
  2014-06-02  1:29 ` James Cloos
  0 siblings, 1 reply; 12+ messages in thread
From: James Cloos @ 2014-05-31  9:30 UTC (permalink / raw)
  To: printing-architecture

I was wrong about sGray.  It turns out that sGray is not defined as
having the same curve as sRGB, but rather it always has gamma 2.2.

The cupsraster document says srgb gamma/whitepoint, and the pwg raster
doc says srgb grayscale.  But everything else I've found says 2.2.
And it seems a D50 illuminate.

That being said, this colorspace dictionary:

[ /CalGray 
  <<  /WhitePoint [ 0.96420288 1.0 0.82490540 ] 
      /Gamma 2.2 
  >> 
]

in stead of /DeviceGray should work for converting sGray pages to pdf.

For AdobeRGB, you can use this:

[ /CalRGB
  << /WhitePoint [ 0.95045471 1.0 1.08905029 ]
     /Gamma [ 2.2 2.2 2.2 ]
  >>
endobj

For sRGB, though, you'll have to embed the icc file.

AFAICT, put the space in an object and specify a ref to that object
where you currently specify /DeviceRGB, usw.

-JimC
--
James Cloos <cloos@jhcloos.com>         OpenPGP: 0x997A9F17ED7DAEA6

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-06-05 11:59 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-31  9:30 [Printing-architecture] pwgtoraster vs calibrated spaces James Cloos
2014-06-02  1:29 ` James Cloos
2014-06-02 11:53   ` Michael Sweet
2014-06-02 18:24     ` James Cloos
2014-06-02 18:34       ` Michael Sweet
2014-06-02 19:04         ` James Cloos
2014-06-03  0:44           ` James Cloos
2014-06-03  2:49             ` Chris Murphy
2014-06-03 11:51             ` Kai-Uwe Behrmann
2014-06-03 17:15               ` Chris Murphy
2014-06-05  9:23               ` James Cloos
2014-06-05 11:59                 ` Kai-Uwe Behrmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.