I've made some Image-Base uploads, extending Mark Summerfield's original. Past versions can be found at backpan under my dir and Mark Summerfield's dir.
Image::Base
at cpan
And some extras in a separate,
Image-Base-Other
-- text files, multiplexing
Then some subclasses to point Image::Base
code at big drawing
libraries, on-screen windows, etc.
Image-Base-GD
-- PNG, JPEG and other formats
Image-Base-Gtk2
-- window drawing, pixbufs, various file formats
Image-Base-Imager
-- various file formats
Image-Base-Imlib2
-- various file formats
Image-Base-Magick
-- many file formats
Image-Base-PNGwriter
-- PNG format
Image-Base-Prima
-- window drawing and various file formats
Image-Base-SVG
-- to SVG.pm module
Image-Base-Tk
-- photo and canvas drawing
Image-Base-Wx
-- image and DC drawing
Image-Base-X11-Protocol
-- windows and pixmaps
It started with PNGwriter and GD as ways to generate PNG in a common style and avoid the oddities of each module, then got a bit carried away.
Other Image::Base
modules include
Image::Xpm
-- XPM format (pure Perl)
Image::Xbm
-- XBM bitmap format (pure Perl)
Image::Pbm
-- PBM/PGM/PPM formats (the "PNM" formats, using PBMlib)
The primitives in Image::Base
are quite limited, but if a few
lines and boxes are all you need then these modules mean you don't have to
wrestle each library, or can let the user choose what's easiest to install,
etc.
Here's some comparison notes if choosing among the various Perl image drawing modules,
ellipse()
might
be a bit dubious.
This page Copyright 2011, 2012, 2013, 2014, 2015, 2016, 2019, 2020 Kevin Ryde.