GD
view release on metacpan or search on metacpan
make test
6. There are some demos you can run in ext/GD/demos. They print PNG
files to standard output. To view the files, pipe their
output to "display" or "xv" in this way:
a. cd GD-2.XX/demos
b perl shapes.pl | display -
You will need a graphics program that can read and display PNG
format. I recommend Image::Magick's display program, available from
ftp://ftp.wizards.dupont.com/pub/ImageMagick/
If you don't have any display programs handy, you can save to a
temporary file and display with recent versions of Netscape or
Internet Explorer.
7. A program named fonttest is included in this package under demos. This
generates an image showing all the built-in fonts available. If you have
built libgd with TrueType support, and you have a directory containing
some TrueType fonts, you can create a simple font listing by running
the program truetype_test, also located in demos.
The latest versions of GD.pm are available at
https://github.com/lstein/Perl-GD
=head1 SEE ALSO
L<GD::Polyline>,
L<GD::SVG>,
L<GD::Simple>,
L<Image::Magick>
=cut
1;
__END__
lib/GD/Image.pm view on Meta::CPAN
The latest versions of GD.pm are available on CPAN:
http://www.cpan.org
=head1 SEE ALSO
L<GD>
L<GD::Polyline>,
L<GD::SVG>,
L<GD::Simple>,
L<Image::Magick>
=cut
# Copyright 1995 Lincoln D. Stein. See accompanying README file for
# usage information
*stringTTF = \&GD::Image::stringFT;
sub _make_filehandle {
shift; # get rid of class
lib/GD/Image_pm.PL view on Meta::CPAN
The latest versions of GD.pm are available on CPAN:
http://www.cpan.org
=head1 SEE ALSO
L<GD>
L<GD::Polyline>,
L<GD::SVG>,
L<GD::Simple>,
L<Image::Magick>
=cut
# Copyright 1995 Lincoln D. Stein. See accompanying README file for
# usage information
*stringTTF = \&GD::Image::stringFT;
sub _make_filehandle {
shift; # get rid of class
lib/GD/Polygon.pm view on Meta::CPAN
The latest versions of GD.pm are available on CPAN:
http://www.cpan.org
=head1 SEE ALSO
L<GD>
L<GD::Polyline>,
L<GD::SVG>,
L<GD::Simple>,
L<Image::Magick>
=cut
### The polygon object ###
# create a new polygon
sub new {
my $class = shift;
return bless { 'length'=>0,'points'=>[] },$class;
}
lib/GD/Simple.pm view on Meta::CPAN
distributed under the same terms as Perl itself. See the "Artistic
License" in the Perl source code distribution for licensing terms.
The latest versions of GD.pm are available at https://github.com/lstein/Perl-GD
=head1 SEE ALSO
L<GD>,
L<GD::Polyline>,
L<GD::SVG>,
L<Image::Magick>
=cut
( run in 0.702 second using v1.01-cache-2.11-cpan-beeb90c9504 )