"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "README.textile" between
Image-Size-3.232.tar.gz and Image-Size-3.300.tar.gz

About: Image-Size determines the size of images in several common formats for e.g. it can add HEIGHT and WIDTH tags to HTML IMG directives (Perl module).

README.textile  (Image-Size-3.232):README.textile  (Image-Size-3.300)
h1. Image::Size - Determine the size of images in several common formats h1. Image::Size - Determine the size of images in several common formats
Version: 3.232 (See CHANGES below) Version: 3.300 (See CHANGES below)
h2. WHAT IS IT h2. WHAT IS IT
Image::Size is a library based on the image-sizing code in the wwwimagesize scri pt, a tool that analyzes HTML files and adds HEIGHT and WIDTH tags to IMG direct ives. Image::Size has generalized that code to return a raw (X, Y) pair, and inc luded 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, PNG, MNG, TIFF, the PPM family of format s (PPM/PGM/PBM) and if Image::Magick is installed, the formats supported by it. Image::Size is a library based on the image-sizing code in the wwwimagesize scri pt, a tool that analyzes HTML files and adds HEIGHT and WIDTH tags to IMG direct ives. Image::Size has generalized that code to return a raw (X, Y) pair, and inc luded 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, PNG, MNG, TIFF, the PPM family of format s (PPM/PGM/PBM) and if Image::Magick is installed, the formats supported by it.
I did this because my old WWW server generated a lot of documents on demand rath er 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 t he image data is loaded and the size known for layout. This library enables scr ipts 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 t he basic interface + wrappers is to not limit the programmer to a certain data f ormat. I did this because my old WWW server generated a lot of documents on demand rath er 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 t he image data is loaded and the size known for layout. This library enables scr ipts 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 t he basic interface + wrappers is to not limit the programmer to a certain data f ormat.
h2. USING Image::Size IN YOUR SCRIPTS h2. USING Image::Size IN YOUR SCRIPTS
Image::Size has pod documentation that gives a more complete overview, but in a nutshell: Image::Size has pod documentation that gives a more complete overview, but in a nutshell:
skipping to change at line 70 skipping to change at line 70
You may need super-user access to install. You may need super-user access to install.
h2. PROBLEMS/BUG REPORTS h2. PROBLEMS/BUG REPORTS
Please send any reports of problems or bugs to rjray@blackperl.com. Please send any reports of problems or bugs to rjray@blackperl.com.
h2. CHANGES h2. CHANGES
* lib/Image/Size.pm * lib/Image/Size.pm
* t/all.t
* t/old-os2.bmp (added)
p{margin-bottom:2em}. Removed the "!" flag in pack template for EMF. It was not p{margin-bottom:2em}. Add support for old OS/2 version of BMP header (Geoff Rich
needed and it broke on earlier Perls. ards).
* lib/Image/Size.pm
p{margin-bottom:2em}. Typo fixes (David Steinbrunner).
* lib/Image/Size.pm
p{margin-bottom:2em}. Avoid a sprintf() warning in Perl 5.21. Perl 5.21 introduc
es a warning for redundant arguments to s?printf(), so sprintf("%d", 1, 2) would
warn. This commit silences that warning by passing sprintf the exact number of
arguments that it expects (Brian Fraser).
* lib/Image/Size.pm
p{margin-bottom:2em}. Added =encoding utf8 to pod - the accented character was c
ausing a pod error (Neil Bowers).
* lib/Image/Size.pm
p{margin-bottom:2em}. Added Z<> to the =item [012] to resolve pod warning. You c
an't have =item 0, so the way round this seems to be to add a Z<> (zero width sp
ace) before each digit (Neil Bowers).
* lib/Image/Size.pm
p{margin-bottom:2em}. Added link to github repo to doc (Neil Bowers).
* lib/Image/Size.pm
p{margin-bottom:2em}. RT #41238: Applied modified version of patch from user to
fix a die problem with unpack on truncated files.
* lib/Image/Size.pm
* t/1.sm.webp (added)
* t/all.t
* t/move.cur (added)
* t/tux.ico (added)
p{margin-bottom:2em}. Add support for WEBP, ICO and CUR file types (Baldur Krist
insson).
* lib/Image/Size.pm
p{margin-bottom:2em}. Fix some perlcritic issues.
 End of changes. 3 change blocks. 
1 lines changed or deleted 3 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS