Posted in ColdFusion | Posted on 04-15-2008 | 4,320 views
Everyone's favorite image utility CFC (imageUtils) got some really nice Tiff support thanks to Daniel Budde II. New functions include:
- isMultiTiff - Returns true if the Tiff image has multiple pages
- isTiff - Returns true if the image is a Tiff. I found it a bit odd that none of the CF8 image functions seem to tell you kind of image you have (unless I'm missing the obvious)
- tiffPageCount - Returns the number of pages in the Tiff
- tiffSplit - lets you get pages from a multipage Tiff
- tiffToPDF - this is a cool one - as you can guess, it turns a Tiff file into a PDF. Works awesome with multi-page Tiffs.
Thanks again to Daniel Budde II!


I have a site I'm working on and I have an image gallery which has stopped working. I pulled up a backup from a month ago that I know worked...not working. I downloaded imageUtil...not working.
The only thing I can think that changed was the CF update...
The errors on ImagePaste(from my code) & ImageCrop (using imageUtil.cfc) start like so:
ckTrace java.lang.NoClassDefFoundError at coldfusion.image.Image.paste(Image.java:2241) at coldfusion.runtime.CFPage.ImagePaste(CFPage.java:5946)
Anyone?