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


Image-Dot documentation  | view source Contained in the Image-Dot distribution.

Index


NAME

Top

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

VERSION

Top

1.1

SYNOPSIS

Top

 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

Top

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

Top


Image-Dot documentation  | view source Contained in the Image-Dot distribution.