Tony Cook > Imager > tk-photo.pl

Download:
Imager-0.70.tar.gz

Annotate this POD

CPAN RT

New  24
Open  4
View Bugs
Report a bug
Source  

NAME ^

tk-photo.pl - display an Imager image under Tk

SYNOPSIS ^

  $ perl tk-photo.pl

DESCRIPTION ^

Simple code to make a Tk::Photo object from an Imager image.

This works by:

  1. write the image data to a scalar in PNG format
  2. Base64 decode the data
  3. read() it into the photo object, supplying the Base64 encoded data to the -data parameter.

REVISION ^

$Revision: 830 $

AUTHOR ^

Tony Cook <tony@imager.perl.org>