ColdFusion component: tmt_img 2.0

Download the CFC

See the API

Get dimensions, crop or resize jpg and png files.

Version 2.0 is a huge improvement over previous versions, especially in terms of image quality. Since there were also a few changes to the API, I renamed the CFC (from tmt_java_img to tmt_img) but keep increasing the version number, so it’s v 2.0 now.

While the quality of images created by previous versions was barely acceptable, current quality is pretty good and should be more than fine for most, if any, web-based applications.

Inside the zip file you can find a small, barebones demo.

Requires ColdFusion Server 6.1 or more.

Copyright © 2004 Massimocorner.com
Developed 2004 Massimo Foti (massimo@massimocorner.com)

Very special thanks to Rudi

Configuring Headless Systems

You may experience problems trying to run this CFC on servers without a graphical interface. The problem is not with the CFC itself, it's caused by limitations of Java running on systems which do not have a mouse, keyboard or display.

For additional details and configuration instructions, please consult the following links:

http://www.macromedia.com/support/flex/ts/documents/java_awt_headless.htm

http://www.doughughes.net/index.cfm/page-blogLink/entryId-29