Dragonfly is a framework that enables on-the-fly processing for any content type.
It is especially suited to image handling. Its uses range from image thumbnails to standard attachments to on-demand text generation.