Roland Giersig > Image-Dot-1.1 > Image::Dot

Download:
Image-Dot-1.1.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.1   Source  

NAME ^

Image::Dot - create 1x1 pixel image files (pure-perl)

VERSION ^

1.1

SYNOPSIS ^

 use Image::Dot;

 $reddot = dot_PNG_RGB(255, 0, 0);
 $bluetransparentdot = dot_PNG_RGBA(0, 0, 255, 32);
 $cleardot = dot_PNG_RGBA(0, 0, 0, 0);
 $cleargifdot = dot_GIF_transparent;

DESCRIPTION ^

This package provides 1x1 pixel PNG images of a certain RGB color (also with transparency) without relying on any external modules like GD, libpng or Compress::Zlib. These pixel dots can be useful in a pure-perl HTTP server to be able to create colored dots on-the-fly, e.g. for formatting or drawing purposes.

Additionally, a transparent GIF dot is provided (PNG transparency support in some common browsers is bad to non-existent).

COPYRIGHT / AUTHOR / LICENSE ^

(c) 2002 Roland Giersig <RGIERSIG@cpan.org>

This module can be used under the same license as perl itself.

syntax highlighting: