To load the image for editing use the method: loadImage(url)
, for example:
painter.loadImage('some_image.gif');
The image is loaded to the DrawArea. If the image size exceeds the DrawArea it is cropped at the right and bottom sides. If the image size is less than the DrawArea size it is positioned at the upper-left corner.
The background image is a separate image displayed underneath the main (editable) image.
To load the background image use the method: loadBackgroundImage(url)
, for example:
painter.loadBackgroundImage('picture.jpg');