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 #73063 is a reply to message #73062] Fri, 22 October 2010 11:45 Go to previous messageGo to previous message
Karl[1] is currently offline  Karl[1]
Messages: 79
Registered: October 2005
Member
On Oct 22, 10:49 am, nata <bernat.puigdomen...@gmail.com> wrote:
> Hi guys,
>
> I have a RGB image [1024,1024,3] and I do:
>
> ----------------------------------------
> set_plot, 'x'
> device, decomposed=1
> tv, image, true=3
> ----------------------------------------
>
> The image is perfect. Then I do:
>
> ----------------------------------------
> set_plot, 'ps'
> device, /color, bits=8, filename='example.ps'
> tv, image, true=3
> device, /close
> ----------------------------------------
>
> The final PostScript file contains an image very different. The colors
> are not the same and I don't know why...
> Any suggestions,
>
> nata

Why are you saying "bits=8"?
This might imply bits per pixel and you have 24-bits of image data.
I'm not real sure how the PS device works in this respect, but you
might be knocking 24-bits of color information down to 8 bits, which
would certainly make the image look different. Try "bits=24"?
[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: Fri Oct 10 22:19:37 PDT 2025

Total time taken to generate the page: 0.88262 seconds