Loading or saving Images (original enhancement)
FileName$ below is a string expression .
loads the image to the graphics pane from the file.
Available image formats are BMP, GIF, JPEG and PNG.
The pane size is adjusted with the size of the image, and the problem coordinates are set to 0 for left end, 1 for right end, 0 for bottom end, 1 for top end.
SET WINDOW 0,PIXELX(1),0,PIXELY(1)
sets the pixel-wise problem coordinates.
GLOAD statement is valid only on the Bitmap Graphics Mode.
saves the whole image to the file.
If the graphics mode is the bitmap mode, FileName$ must contain the extension ".BMP", ".GIF", ".JPG" or ".PNG".
If the graphics mode is the metafile mode, FileName$ must contain the extension ".EMF".
If the graphics mode is the metafile mode, execution of GSAVE clears the image.
If the format is JPEG, compression rate can be assigned as following.
GSAVE "A:SAMPLE1.JPG", "33%"