X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 09 Jul 2016 09:44 AM by  anon
Saving PNG files through SSH connection to make movies
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
09 Jul 2016 09:44 AM
    I do a lot of work remotely and am currently creating a cgPlot and then writing to a png file, saving a series of pngs to create a movie. But when I do this it can take 20 seconds or so to save 1 png, while if I do this on campus then it only takes 0.5 seconds to save the plot as a png. Is there another and/or more efficient of being able to plot and save the plot as a png when connected remotely through a SSH connection?

    Deleted User



    Basic Member


    Posts:143
    Basic Member


    --
    04 Aug 2016 04:29 PM
    Are you displaying the image before you save it? If you are, you should consider using the Z-buffer device to generate generate and save the image without displaying it. An example how to use the Z device is shown below: pro dj_z_test Set_PLOT, 'Z' Device, SET_RESOLUTION=[500,500], DECOMPOSED=1, SET_PIXEL_DEPTH=24 plot, findgen(10) t = tvrd(/TRUE) WRITE_JPEG, "test_new.png", t, /TRUE set_plot, 'win' end
    You are not authorized to post a reply.