X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 20 May 2008 09:35 AM by  anon
keep images like .jpeg
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
20 May 2008 09:35 AM
    Hello to all, I have a problem when using idl (version 6.0) when I keep graphic or images like .jpeg keeps in gray scale. What I make to keep the images with the color that is seen in screen? Thanks for the aid. Tavo

    Deleted User



    New Member


    Posts:
    New Member


    --
    20 May 2008 09:35 AM
    Here is the routine for storing an IDL Graphics Window as a True Color RGB JPEG: ; Make some colorful dummy data device, DECOMPOSED=0 ; I only needed this to make the colorful image image = dist(360) loadct, 5 window, XSIZE=360, YSIZE=360 tv, image ; Here is the coding solution you are looking for, Tavo: snapshot = tvrd(TRUE=1) ; I would get grayscale, if I did not use TRUE=... write_jpeg, 'my_idl_graphic.jpg', snapshot, TRUE=1 James Jones
    You are not authorized to post a reply.