<?xml version="1.0" encoding="windows-1252"?>
<node id="70931" title="Question about Tk Canvas, pixels, and images" created="2001-04-09 05:12:10" updated="2005-08-10 14:07:57">
<type id="115">
perlquestion</type>
<author id="70929">
atcroft</author>
<data>
<field name="doctext">
I humbly beseech your knowledge, as I have been to the meager limits of my search abilities but to no avail.&lt;BR&gt;&lt;BR&gt;

I am using 'use Tk;' and the Canvas object for creating displays on a screen. I am looking for a way to manipulate it at a pixel-level for parts of what I need to do. So far, I finally found a way to create an individual pixel (CreateText, using a '.' -is there a better way), but I cannot seem to find information on: &lt;BR&gt;(a) how to create an savable image from a Canvas, or &lt;BR&gt;(b) how to get the color of a pixel at a particular location on a Canvas.&lt;BR&gt;&lt;BR&gt;

Your guidance I humbly seek.&lt;BR&gt;&lt;BR&gt;

-----&lt;BR&gt;
A journey of a 1000 lines of code begins with a single keystroke.</field>
</data>
</node>
