]> git.imager.perl.org - imager.git/blobdiff - samples/README
- added sample files missing from MANIFEST
[imager.git] / samples / README
index ff8ce48690ed7136b9b830622ff7dbebe13203eb..3752a900321460e80bf0329d2fddef1c46796b71 100644 (file)
@@ -19,6 +19,11 @@ replace_color.pl
 
   http://www.perlmonks.org/?node_id=497355
 
+inline_replace_color.pl
+
+  Example using Inline::C and the Imager API to replace one color with
+  another in an image.
+
 interleave.pl
 
   Produce an interleaved image given the left and right images of a
@@ -74,3 +79,16 @@ slant_text.pl
 tk-photo.pl
 
   Simple example of making a Tk::Photo object using Imager data.
+
+align-string.pl
+
+  Simple demonstration of the align_string() method.  Usage:
+
+   perl align-string.pl fontfile size outputfile text...
+
+  eg.
+
+   perl align-string.pl fontfiles/ImUgly.ttf 60 test.ppm .A.
+
+  This demonstrates how the various values of halign and valign
+  behave.