Menu

[c54480]: / demos / scripts / export-image.vys  Maximize  Restore  History

Download this file

17 lines (11 with data), 431 Bytes

vym.clearConsole();
map = vym.currentMap();
map.exportMap("Image","export-test.png","PNG");	// Last parameter is optional


// Parameters

0: Export type
1: Filname
2: Image format (optional) for "Image"

// Export types
["Last", "AO", "ASCII", "CSV", "HTML", "Image", "Impress", "LaTeX", "Markdown", "OrgMode", "PDF", "SVG", "XML"]

// Image formats
["PNG", "GIF", "JPG", "JPEG", "PNG", "PBM", "PGM", "PPM", "TIFF", "XBM", "]XPM"
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.