en:imgload [BASIC 256 - Language Documentation]

# BASIC 256 - Language Documentation

en:imgload

## Imgload (Statement)

### Format

imgload x_expr, y_expr, file_name
imgload ( x_expr, y_expr, file_name )
imgload x_expr, y_expr, scale, file_name
imgload ( x_expr, y_expr, scale, file_name )
imgload x_expr, y_expr, scale, rotation, file_name
imgload ( x_expr, y_expr, scale, rotation, file_name )

### Description

Load an image or picture from a file and paint it on the Graphics Output Window.
The parameters x_expr and y_expr represent the location on the screen for the CENTER of the loaded image. This behaviour is different than all of the other graphics statements. The axis of rotation will also be this CENTER point.
The Imgload starement will read in most common image file formats including: BMP (Windows Bitmap), GIF (Graphic Interchange Format),JPG/JPEG (Joint Photographic Experts Group), and PNG (Portable Network Graphics).
Optionally scales size of the loaded image by the defined scale (1=normal size). Also optionally rotates the image by a specified angle around the images center (clockwise in radians).

### See Also

Imgload, Imgsave

### History

0.9.6l | New to Version

en/imgload.txt · Last modified: 2014/02/09 20:31 by admin