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!
Comment 1 written by Steve Walker on 15 April 2008, at 3:24 PM
Comment 2 written by andy on 15 April 2008, at 4:18 PM
Comment 3 written by Raymond Camden on 15 April 2008, at 4:30 PM
Comment 4 written by Devon Burriss on 17 April 2008, at 2:29 PM
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?
Comment 5 written by Raymond Camden on 17 April 2008, at 2:35 PM