A second example of using the external module

Heres another example of the external module.

In this example, an image is imported/read in and composited on top of a color card and the result is fed to an external module like so.

http://lh4.ggpht.com/_I46h7gJMDOQ/SmwaX0VQUCI/AAAAAAAAAD0/hreV49H943c/s400/external06.png

The external module, once again, invokes the ImageMagick tool called convert to do its bidding.

http://lh3.ggpht.com/_I46h7gJMDOQ/SmwaX0EzmEI/AAAAAAAAAD4/7gY1sOMnB20/s800/external07.png

In this example the -annotate instruction and a handful of option settings are used to have ImageMagick create simple text. The -font option specifies a true-type font file (a .ttf file), or a built-in font to use; -pointsize specifies the font size; -fill specifies the color that the ink-lines should be. The numbers with the pluses instruct ImageMagick how many pixels to the right and down from the top-left corner that the text should begin appearing.

(there is a harmless typo above–slash)

For this example I’m using a TTF file I downloaded and the web color called steelblue

This command generates text and it is superimposed with a composite module:

http://lh5.ggpht.com/_I46h7gJMDOQ/SmwaX1vBT0I/AAAAAAAAAD8/wWWAq70GL9g/s400/external08.png

But to be able to independently move the text without moving the imported image a different set-up is used.

http://lh4.ggpht.com/_I46h7gJMDOQ/SmwaYNpLxLI/AAAAAAAAAEA/Fz7BpQRS9qI/s800/external09.png

In this set-up an Apply-Image-Transformation module is hooked directly below. It receives the resulting text image from the external module and in conjunction with an attach peg, the text image can be transformed to a different location, size, and rotation. Because the external module is not a real-time operation that shows up in the OpenGL preview mode in the camera, a field-guide module is attached (but any similar guide would do)

The font is changed and the text is displaced and resized.

http://lh6.ggpht.com/_I46h7gJMDOQ/SmwaYD5pJ6I/AAAAAAAAAEE/H8NjiI-LTJs/s400/external10.png