Personal tools
You are here: Home Products DynamicImager

DynamicImager

RSS Feed Category: Rendering and imaging — Other products by this author
Small product with which you can generate dynamic images out of given strings anywhere in you portal. This will come in handy when you need to display texts or labels vertically (see screenshot). A link to the demo can be found below!

Current release: DynamicImager 1.1.0

Released 2007-01-16 — tested with Plone 2.5.1, Plone 2.5

Stable DynamicImager product

List all releases… Full release announcement…

Experimental releases

There are no experimental releases available at the moment.

Project Description

DynamicImager
Project resources

Using PIL as a backend, the DynamicImager product can generate dynamic images
based upon a number of parameters. It depends on PIL as well as InstallUtils (another
Goldmund, Wyldebeast & Wunderliebe product).

demo: HERE

  • font (some font that ends with .pil (e.g. helvetica-8.pil)
  • text (the text to print in the image)
  • width (width of the image)
  • height (height of the image)
  • x (start text at coordinate x)
  • y (start text at coordinate y)
  • rotate (rotation of the image in degrees)
  • color (background color)
  • fill (text color)

The font parameter checks the dynamic_imager_properties (in portal_properties) to find
the absolute path to the pil fonts. The DynamicImager product distributes a small
set of free fonts. TTF fonts are not yet working at the moment.

Examples in http://localhost:8080/portal


/dynamicImage?text=default


/dynamicImage?text=a%20dynamic%20image&width=100
DynamicImager width




/dynamicImage?text=a%20dynamic%20image&height=25&width=100&x=5&y=5&rotate=90&color=%23F79421&fill=%23FFFFFF


/dynamicImage?font=helvetica-10.pil&text=a%20dynamic%20image&height=25&width=100&x=5&y=5&rotate=90&color=%23F79421&fill=%23FFFFFF

by admin last modified 2008-02-10 22:27

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: