crimp_tk - CRIMP - Tk Photo Handling
This package provides commands for the conversion of CRIMP images to Tk photos image and vice versa, i.e. the export of images for display, and import from a display.
For a basic introduction of the whole CRIMP eco-system please read the CRIMP - Introduction to CRIMP (sic!). The basic concepts used here, like images, image types, etc. are described in the reference manpage for the CRIMP - Foundation. We will not repeat them here, but assume that the reader knows them already.
In the overall architecture this package resides in the middle layer of the system's architecture, between core and applications, as shown at
The commands it provides all fall into the I/O category of the general design.
This method extends the ::crimp read ensemble. It takes the name of a Tk photo command and returns an image of type rgba containing the photo's contents.
This method extends the ::crimp write ensemble. It takes two arguments, the name of a Tk photo command and an image, and stores the image into the photo, overwriting the previous contents.
The method returns the empty string.
The supported image types are grey8, rgb, and rgba.
Copyright © 2011 Andreas Kupries
Copyright © 2011 Documentation, Andreas Kupries