1 This directory includes example code for Imager.
3 If you have sample code to contribute, please contact the maintainer.
5 The notes here just provide a basic description and the functions
10 Produce a color, grey or pure anaglyph image given left and right
11 images of a stereoscopic pair.
13 Uses transform2() and convert().
17 Example using Imager::transform2() to replace one color with another
20 http://www.perlmonks.org/?node_id=497355
24 Produce an interleaved image given the left and right images of a
25 stereoscopic pair. Note that the source images must be pre-scaled.
27 This includes 3 different implementations, first using transform2(),
28 the second using the internal i_copyto() function and the third using
29 the internal i_glin() and i_plin() functions.
34 Example that demonstrates generating an image linked from a HTML form.
36 The POD for this sample discusses alternate approaches and security
42 Example that demonstrates reading an image uploaded via a HTML form.
44 Produces an output image scaled to fit inside 200x200.
49 Example that demonstrates reading an image uploaded via a HTML form.
51 Produces a text/plain report of the tags that Imager defined for the
54 This and the previous sample are very similar, the intent is to show
55 the common elements and to demonstrate that the output is independent
58 See the section "Parsing an image posted via CGI" in Imager::Cookbook
59 for cautions and details on reading uploaded images.
63 Example of adding a border to an image.
67 Example of drawing transformed text.
69 Draws slanted or rotated text to a new image and saves it to a file.
71 As part of this it demonstrates calculating the transformed bounding
76 Simple example of making a Tk::Photo object using Imager data.