comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: PostScript and TrueColor images
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: PostScript and TrueColor images [message #73060 is a reply to message #73059] Fri, 22 October 2010 12:16 Go to previous messageGo to previous message
Karl[1] is currently offline  Karl[1]
Messages: 79
Registered: October 2005
Member
On Oct 22, 12:59 pm, nata <bernat.puigdomen...@gmail.com> wrote:
> The maximum value for BITS is 8
>
> BITS_PER_PIXEL
>
> (PS)
>
> IDL is capable of producing PostScript images with 1, 2, 4, or 8 bits
> per pixel. Using more bits per pixel gives higher resolution at the
> cost of generating larger files. BITS_PER_PIXEL is used to specify the
> number of bits to use. If you do not specify a value for
> BITS_PER_PIXEL, a default value of 4 is used.
>
> It should be noted that many laser printers, including the original
> Apple Laserwriter are capable of only 32 different shades of gray
> (which can be represented by 5 bits). Thus, specifying 8 bits per
> pixel does not give 256 apparent shades of grey as might be expected,
> only 32, at a cost of sending twice the number of bits to the printer.
> Often, 4 bits (16 levels of gray) will give acceptable results with a
> large savings in file size.

OK. My bad.

They try setting /decomposed, /color in your device command when using
the 'ps' device.

You used decomposed when using the X device. And Mike Galloy's web
site has a sample of using 24-bit ps and sets /decomposed.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GetLastChild
Next Topic: SVD on CUDA

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 22:34:10 PDT 2025

Total time taken to generate the page: 0.39514 seconds