Function picturesize
#include <macaw.h>void picturesize(int p, int *w, int *h);
Tells you a picture's width and height in one call.
Parameters
pint- The picture's number.
wint *- Where to put the width in pixels: pass the address of an
int, like&w, orNULL. hint *- Where to put the height in pixels: pass the address of an
int, like&h, orNULL.
In Pictures, with newpicture, loadpicture, freepicture, picturewidth, pictureheight, drawpicture, drawpart, drawinto, drawpictureex, drawpartex, savepicture, parsepicture, decodepicture, decodepicturefile, importpicture, importpicturefile, pictureget, pictureset, pictureclear, picturecopy, picturegetrgb, picturesetrgb.