This spot of code extends Perl
Image::Base
to draw into Gtk2-Perl
windows, pixmaps and pixbufs, including file loading and saving to
pixbufs.
Pixbufs support various file formats and don't require an X server for drawing. As of Gtk 2.22 the writable formats are PNG, JPEG, TIFF, BMP and ICO. Several more formats can be read but not written, including GIF, XPM, XBM, SVG and PCX.
Image-Base-Gtk2
is
free software (free
as in freedom), published under the terms of the
GNU
General Public License (v3 or higher).
Download version 11 here, either the full source here or from CPAN, or a Debian package here or from my repo.
Image-Base-Gtk2-11.tar.gz
(55k, and sig)
libimage-base-gtk2-perl_11-1_all.deb
(35k, and sig)
The sig files are Gnu PG ascii armoured
signatures generated from my key. There's a
SIGNATURE
file inside the .tar.gz
for
cpansign
too. Older sources can be found
at backpan.
See Image-Base page for other
Image::Base
things, including similar window drawing for
X11::Protocol
.
This page Copyright 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2020 Kevin Ryde, except for the GPLv3 logo which is Copyright Free Software Foundation and used here in accordance with its terms.