There's more than one way to do things | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I humbly beseech your knowledge, as I have been to the meager limits of my search abilities but to no avail.
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: (a) how to create an savable image from a Canvas, or (b) how to get the color of a pixel at a particular location on a Canvas. Your guidance I humbly seek. ----- A journey of a 1000 lines of code begins with a single keystroke. In reply to Question about Tk Canvas, pixels, and images by atcroft
|
|