Re: PostScript and TrueColor images [message #73063 is a reply to message #73062] |
Fri, 22 October 2010 11:45   |
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"?
|
|
|