Packages not in Groups

perl-Image-Size: Image-Size - A library to extract height/width from images

Name:perl-Image-Size Vendor:Randy J Ray <rjray{%}blackperl{*}com>
Version:3.0 License:Artistic
Release:1 URL:
The Image::Size library is based upon the "wwwis" script written by Alex Knowles *(*, a tool to examine HTML and add 'width' and 'height' parameters to image tags. The sizes are cached internally based on file name, so multiple calls on the same file name (such as images used in bulleted lists, for example) do not result in repeated computations. Image::Size provides three interfaces for possible import: =over =item imgsize(*stream*) Returns a three-item list of the X and Y dimensions (width and height, in that order) and image type of *stream*. Errors are noted by undefined (undef) values for the first two elements, and an error string in the third. The third element can be (and usually is) ignored, but is useful when sizing data whose type is unknown. =item html_imgsize(*stream*) Returns the width and height (X and Y) of *stream* pre-formatted as a single string 'width="X" height="Y"' suitable for addition into generated HTML IMG tags. If the underlying call to "imgsize" fails, undef is returned. The format returned is dually suited to both HTML and XHTML. =item attr_imgsize(*stream*) Returns the width and height of *stream* as part of a 4-element list useful for routines that use hash tables for the manipulation of named parameters, such as the Tk or CGI libraries. A typical return value looks like "("-width", X, "-height", Y)". If the underlying call to "imgsize" fails, undef is returned. =back By default, only "imgsize()" is exported. Any one or combination of the three may be explicitly imported, or all three may be with the tag :all.

Arch: noarch

Build Date:Wed Sep 13 21:42:54 2006
Packager:Arix International <cpan2rpm{%}arix{*}com>
Size:76 KiB


* Wed Sep 13 21:00:00 2006
- Initial build.

Listing created by RepoView-0.5.2