Image::Info::SVG - SVG support for Image::Info
use Image::Info qw(image_info dim);
my $info = image_info("image.svg"); if (my $error = $info->{error}) { die "Can't parse image info: $error\n"; } my $color = $info->{color_type};
my($w, $h) = dim($info);
A functional yet thus far rudimentary SVG implementation. SVG also provides (for) a plethora of attributes and metadata of an image.
This modules supplies the standard key names except for BitsPerSample, Compression, Gamma, Interlace, LastModificationTime, as well as:
This module requires XML::Simple
Image::Info, XML::Simple, expat
SVG is not yet a standard, though much software exists which is capable of creating and displaying SVG images. For more information about SVG see:
http://www.w3.org/Graphics/SVG/
Jerrad Pierce <belg4mit@mit.edu>/<webmaster@pthbb.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.