Name

size — width and height of a raw image

Synopsis

$image->Set(size=>geometry)
$image->Get(’size')

Use the size attribute before reading in an image from a raw data file format such as RGB, GRAY, TEXT, or CMYK. Images in the Photo CD format are stored at several different resolutions, so choose one of the following before reading the image:

192 × 128
384 × 256
768 × 512
1536 × 1024
3072 × 2048

Get Programming Web Graphics with Perl and GNU Softwar now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.