PDF::Bu...age::GD(3)
π PDF::Builder::Resource::XObject::Image::GD π
okay bestie, welcome to the GD image glow-up page β this is part of the User Contributed Perl Documentation collection, and it's basically the support-routines era of the Graphics Development image library. slay. π
πΈ NAME πΈ
PDF::Builder::Resource::XObject::Image::GD β support routines for the Graphics Development image library. it's giving helper energy, and we love that for it. β¨
Also, real quick, the way that it inherits from PDF::Builder::Resource::XObject::Image? iconic lineage, no notes. π
π¦ METHODS π¦
β¨ new β¨
$res = PDF::Builder::Resource::XObject::Image::GD->new($pdf, $file, %opts)
not me showing you the constructor first because of course we're starting there π . Here's what you can pass in:
'name' => 'string'β this is the lil name you get to give your GD image object, like naming a pet but make it pixels. πΎ if you don't pick one, the default isDxnnnn. yeah, literally just that.'lossless' => 1β turn this on and you get lossless compression. no quality lost, all vibes preserved. π«Ά
So like, an image object gets created from GD input. π
β οΈ heads up bestie: this should be invoked from Builder.pm's method. don't come for me, that's just the rule. π
and that's the whole page, you ate that π β¨
this lil doc is living its best life as perl v5.42.0, dated 2026-01-17 β yes, it's giving very current, we love a fresh page. bye bestie, go make some images π¦ππ
π¦ where this page comes from
- fedora 44: perl-PDF-Builder 3.028-2.fc44 Β· LGPL-2.1-or-later AND LGPL-2.1-only AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms