Tony Cook > Imager-0.95 > tk-photo.pl

Download:
Imager-0.95.tar.gz

Annotate this POD

Website

CPAN RT

New  40
Open  14
View/Report Bugs
Source   Latest Release: Imager-0.98

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$

AUTHOR ^

Tony Cook <tonyc@cpan.org>

syntax highlighting: