| Image-Dot documentation | view source | Contained in the Image-Dot distribution. |
Image::Dot - create 1x1 pixel image files (pure-perl)
1.1
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;
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).
(c) 2002 Roland Giersig <RGIERSIG@cpan.org>
This module can be used under the same license as perl itself.
| Image-Dot documentation | view source | Contained in the Image-Dot distribution. |