Bonus Sample Code: Image Macro Generator
omz last edited by
As an addition to the included "Image Effects" sample, here is another script that uses the Python Imaging Library (PIL) in combination with the new image-related functions in the clipboard module to create <a href="http://en.wikipedia.org/wiki/Image_macro">image macros</a>.
Version 1 (faster, but results look slightly worse):
Version 2 (quite a bit slower, but better-looking results):