Function picturecopy
#include <macaw.h>int picturecopy(int p);
Makes a new picture that's the same as another one, so you can change the copy and keep the first. Its true colours are copied too, if it has them.
Parameters
pint- The number of the picture to copy.
Returns int
The new picture's number.
In Pictures, with newpicture, loadpicture, freepicture, picturewidth, pictureheight, drawpicture, drawpart, drawinto, drawpictureex, drawpartex, savepicture, parsepicture, decodepicture, decodepicturefile, importpicture, importpicturefile, pictureget, pictureset, picturesize, pictureclear, picturegetrgb, picturesetrgb.