Note: If the APPEND keyword was used in the previous call to the Save method, the Filename will be ignored. In this case, we recommend that you experiment with different web browsers. Certain features of SVG (such as text layout, linestyles, or colors) may look different in different web browsers, or may be rendered incorrectly. Note: Support for SVG is highly dependent upon the vendor and version of your web browser. The supported file formats are listed in the following table:ĪNTIALIAS, BORDER, TRANSPARENT, RESOLUTION, WIDTH, HEIGHTĪNTIALIAS, APPEND, BORDER, CLOSE, RESOLUTION, WIDTH, HEIGHTĪNTIALIAS, BORDER, RESOLUTION, WIDTH, HEIGHTĪNTIALIAS, BORDER, REVERSIBLE, RESOLUTION, WIDTH, HEIGHTĪPPEND, BITMAP, CENTIMETERS, CLOSE, LANDSCAPE, MEMORY, PAGE_SIZE, XMARGIN, YMARGIN, RESOLUTION, WIDTH, HEIGHTĪNTIALIAS, BIT_DEPTH, BORDER, RESOLUTION, WIDTH, HEIGHTĪNTIALIAS, BIT_DEPTH, BORDER, TRANSPARENT, RESOLUTION, WIDTH, HEIGHTĪNTIALIAS, BIT_DEPTH, BORDER, CMYK, COMPRESSION, TRANSPARENT, RESOLUTION, WIDTH, HEIGHT For example, if Filename is image.bmp, the file is saved in bitmap format. The file format of the saved file is determined from the Filename file suffix. Graphic.Save, Filename, /ANTIALIAS, /APPEND, BIT_DEPTH=, HEIGHT= integer, LANDSCAPE, /MEMORY, PAGE_SIZE= value, RESOLUTION= integer, /REVERSIBLE, TRANSPARENT= array, WIDTH= integer, XMARGIN= integer, YMARGIN= integer ArgumentsĪ string containing the full pathname of the file to which the graphic should be written. See Additional Examples for more code examples using the Save method. Save, "gaussian.png", BORDER= 10, RESOLUTION= 300, /TRANSPARENT Additional Examples The following code sample creates a bar plot and saves the image to a PNG file. The Save method saves the window contents of an IDL Graphic to an image file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |