Subject: Image::Size 2.9 uploaded to PAUSE
From: [email-masked] (Randy J. Ray)
Date: 22 Dec 1998 04:20:58 GMT
Newsgroups: comp.lang.perl.announce,comp.lang.perl.modules

Version 2.9 of Image::Size has been uploaded to PAUSE, and will propagate
to all CPAN sites over the next few days. Most important is a fix to a
byte-order problem in the BMP support added in 2.8.

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

Summary of Changes in 2.9:

* Support for BMP format in 2.8 was marred by a byte-ordering problem not
  found in testing since my Linux and Windows machines are both Intel-based.
  Sorry.

* Added a contributed fix for a recurring problem with GIF87a images that
  have descriptors similar to GIF89a.

* Added a contributed fix to the PPM matching (prior to actual selection for
  sizing) that was caused by some Win32 versions of Perl not handling "\n"
  natively.

* While at that last one, I made an attempt to fix any MacOS concerns that
  may be triggered by the same consideration.

* Added better error handling to the imgsize script and added a little more
  to the manual page.

>From the README file for 2.9:

NOTE: Version 2.9 fixes a bug in the newly-added BMP support from 2.8. The
      2.8 files will be marked for deletion from CPAN. Use this version,
      instead.

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 CGI.pm 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.

Please send any reports of problems or bugs to [email-masked].

This package is copyright (c) 1998 by Randy Ray ([email-masked]) and is
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.

Perl module interface by Randy J. Ray ([email-masked]), original
image-sizing code by Alex Knowles ([email-masked]) and Andrew Tong
([email-masked]), used with their joint permission.

Some bug fixes submitted by Bernd Leibing <[email-masked]>.
PPM/PGM/PBM sizing code contributed by Carsten Dominik
<[email-masked]>. Tom Metro <[email-masked]> re-wrote the JPG
and PNG code, and also provided a PNG image for the test suite. Dan Klein
<[email-masked]> contributed a re-write of the GIF code. Cloyce Spradling
<[email-masked]> contributed the TIFF sizing code and test images.
A fix for reading binary data on PC-ish operating systems was contributed by
Silas Dunsmore <[email-masked]>. Aldo Calpini <[email-masked]>
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
<[email-masked]>. Fix for problems with PPM formats on some Win32
versions was contributed by Randy Kobes <[email-masked]>.

-- 
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Randy J. Ray                                                    [email-masked]
Campbell, CA                                                      [email-masked]
<A HREF="http://www.svsm.org">Silicon Valley Scale Modelers</A>