X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 16 Jan 2018 12:40 PM by  David Starbuck
How to write file from IDLgrWindow
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages

David Starbuck



Basic Member


Posts:143
Basic Member


--
16 Jan 2018 12:40 PM
    User Question:

    How do you write files directly from an IDLgrWindow

    Possible Solution:

    Use the IMAGE_DATA property to get the image that is displayed in the window. Then use routines such as WRITE_PNG to write the image data to a file. For example:

    oWindow.GetProperty, IMAGE_DATA=img
    WRITE_PNG, 'test.png', img
    You are not authorized to post a reply.