Image::Size 2.901 uploaded to PAUSE 
Author Message
 Image::Size 2.901 uploaded to PAUSE
(I originally released this package as 2.10, not realizing that CPAN uses
direct numerical comparisons, and thus 2.10 < 2.9).

Version 2.901 of Image::Size has been uploaded to PAUSE, and will propagate
to all CPAN sites over the next few days.

To build and install, you will need perl 5.002 or later, and sufficient
access to install an extension.

Summary of Changes in 2.901:

* Use of the Devel::Modlist package showed that my usage of IO::File pulled
  in a lot of overhead (which I knew, but this meant I couldn't ignore it
  any longer). Pulled out all IO::File stuff, use the Symbol package instead
  for anonymous GLOBs. Also, the calling form that allows an open filehandle
  be passed in is no longer so picky that it be blessed into IO::File. It
  does have to be a hard reference, though. Symbolic refs still look like

* While doing the above, I eliminated the last of the strict-refs conflicts.
  Prior to now, the package ran under strict subs and vars, but not refs. It
  is now fully strict-clean.

>From the README file for 2.901:

Image::Size is a library based on the image-sizing code in the wwwimagesize
script, a tool that analyzes HTML files and adds HEIGHT and WIDTH tags to
IMG directives. Image::Size has generalized that code to return a raw (X, Y)
pair, and included wrappers to pre-format that output into either HTML or a
set of attribute pairs suitable for the library by Lincoln Stein.
Currently, Image::Size can size images in XPM, XBM, GIF, JPEG, TIFF, PNG and
the PPM family of formats (PPM/PGM/PBM).

I did this because my old WWW server generated a lot of documents on demand
rather than keeping them in static files. These documents not only used
directional icons and buttons, but other graphics to annotate and highlight
sections of the text. Without size attributes, browsers cannot render the
text of a page until the image data is loaded and the size known for layout.
This library enables scripts to size their images at run-time and include
that as part of the generated HTML. Or for any other utility that uses and
manipulates graphics. The idea of the basic interface + wrappers is to not
limit the programmer to a certain data format.

made available to the Perl public under terms of the Artistic License used to
cover Perl itself. See the file Artistic in the distribution  of Perl 5.002 or
later for details of copy and distribution terms.

PPM/PGM/PBM sizing code contributed by Carsten Dominik

and PNG code, and also provided a PNG image for the test suite. Dan Klein

A fix for reading binary data on PC-ish operating systems was contributed by

sent in code that was easily adapted to support BMP images (Windows bitmaps).
Fix for a recurring problem with GIF87a files contributed by Matthias Schmitt


<A HREF=" http://www.*-*-*.com/ ">Silicon Valley Scale Modelers</A>

Mon, 27 Aug 2001 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Image::Size 2.7 Uploaded to PAUSE

2. Image::Size 2.5 uploaded to PAUSE

3. Image::Size 2.3 uploaded to PAUSE

4. Image::Size 2.9 uploaded to PAUSE

5. Image::Size 2.0 uploaded to PAUSE

6. Image::Size 1.2 uploaded to PAUSE

7. Image::Size 1.1 uploaded to PAUSE

8. Image::Size 2.6 uploaded to CPAN

9. Image::Size 2.902 uploaded to CPAN

10. Bug: file upload file size mismatch when file size is close to buffer size

11. Image Magick finding image size without loading image

12. X11::Fvwm 0.4 uploaded to PAUSE


Powered by phpBB® Forum Software