pictureSize

pictureSize(width:  Integer output;
            height: Integer output): Integer;

The pictureSize method of the Binary primitive type returns the type of picture image of the receiver and the width and height of the image. If the binary is not a valid image, zero (0) is returned for the type, width, and height of the image.

If the image contains multiple icon or cursor definitions, the pictureSize method returns the size of the largest of the images.