Dot(3)

πŸ“¦
version 1.1 Β· 2 versions
, in fedora 43

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.


  • (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