GD is an open source code library for the dynamic creation of images by programmers. GD is written in C, and "wrappers" are available for Perl, PHP and other languages. GD can read and write many ...
use GD::Raw; my $fh = fopen("my-image.png", "rb"); my $img = gdImageCreateFromPng($fh); say "Image resolution is ", gdImageSX($img), "x", gdImageSX($img ...