Dot(3)
Dot(3) β like, the Image::Dot manual page, bestie π
β¨ NAME β¨
Image::Dot β she makes 1x1 pixel image files and she does it in pure-perl, no cap π
πΈ VERSION πΈ
1.1 β the iconique edition π
π¦ 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;
Likeβ¦ four lines and you have dots. That's it. That's the whole vibe check π
π DESCRIPTION π
Okay so listen. This package hands you 1x1 pixel PNG images of whatever RGB color you want (transparency included, obviously β¨) and it does it without relying on any external modules β not GD, not libpng, not Compress::Zlib. Nobody. She's independent, she's self-made, main character energy fr fr π
The way that these pixel dots are lowkey perfect for a pure-perl HTTP server? Because you can create colored dots on-the-fly, like for formatting or drawing purposes. On the fly!! No dependencies!! Obsessed π«Ά
Also β bonus content β a transparent GIF dot is provided too. Why? Because PNG transparency support in some common browsers is, and I quote the manpage here, bad to non-existent π so yeah, sometimes the GIF is the moment.
π COPYRIGHT / AUTHOR / LICENSE π
(c) 2002 Roland Giersig <RGIERSIG@cpan.org>β shoutout to the original icon, we love him π₯°- This module can be used under the same license as perl itself. Slay, permissive, iconic.
π Real talk though bestie: this page is short and sweet, but every single word of it is load-bearing. Don't skip the "no external modules" part β that's literally her whole personality.
That's the whole page, bestie β go make some tiny dots π
Kisses from the perl v5.42.0 girlies, dated 2025-07-25 π this page was rendered by perl itself and honestly? She ate. Periodt. πβ¨
π¦ where this page comes from
- fedora 43: perl-Image-Dot 1.1-35.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms