ColdFusion 8 Image Support

I'm not covering everything here as I was a bit late, but here are the high level features:

Resizing (in various ways)
Pasting images over each other
Adding text to an image
CAPTHA (of various levels of difficulty)
base64 encoding images
Works with Blogs (lets you store images in databases)
Read Exif/IPTC metadata
Basic drawing functions (line, rectangle, curves)

Archived Comments

Comment 1 by chad gray posted on 10/25/2006 at 4:24 AM

keep an eye on PDF stuff Ray. Any time i can take images and text and make a PDF document my customers are very happy.

Right now i use ActivePDF with .net to make custom PDFs. I would love to switch to CF to make PDFs with images and text.

Comment 2 by Rob Gonda posted on 10/25/2006 at 5:03 AM

Ray, I know you have a deep attachment to blogs, but I think in this particular case you meant blobs :)

Comment 3 by Alexander Tsoukias posted on 10/25/2006 at 5:38 AM

Any idea Ray on when we should expect public release of CF 8?

Thanks

Comment 4 by Rob Gonda posted on 10/25/2006 at 6:43 AM

CF8 is only on Alpha 1, so it will still be a while.

Comment 5 by Michael Evangelista posted on 10/25/2006 at 6:57 AM

Ray - thanks for the info.
Do you know anything yet about the way the image resizing will work? I am curious if it will be java-based, like Massimo's tmt_img.cfc, or if it will depend on GD/Image Magik or some other system... any thoughts?

Also echoing Alexander's question - when when when??

Comment 6 by Kiriran posted on 10/25/2006 at 10:31 AM

lol ... when I first read image support, I thought about the file image support like in smalltalk.

but anyway. really looking forward to CF8 and the new image functions.

Comment 7 by StuMo posted on 10/25/2006 at 11:36 AM

Chad, check out cfdocument in CF7.

Comment 8 by Chris H posted on 10/25/2006 at 12:58 PM

well that and full 64-bit support alone will make CF 8 worth it for me. i'm guessing there will be lots of other updates to make me happy on top of that

Comment 9 by Erki Esken posted on 10/25/2006 at 1:54 PM

Exif reading is nice, but what about XMP (http://labs.adobe.com/techn... reading/writing?

And I sure hope they put some of those excellent Photoshop resizing algorithms into CF, otherwise there's really nothing special in this feature over other image CFCs out there, except that it's built-in.

Comment 10 by Lola Lee Beno posted on 10/25/2006 at 3:13 PM

The hard part will be getting clients to upgrade to CF8 when they're still using 6.1, or even horrors, 4 or 5 . . .

Comment 11 by Justice posted on 10/25/2006 at 3:48 PM

I hope they have an inexpensive upgrade path for 8, I finally convinced folks here to purchase CF7 Enterprise after several years of using CF 5. I dont know if I can go back to that well again =)

Comment 12 by Raymond Camden posted on 10/25/2006 at 6:50 PM

For the user asking about when cf8 will be released, I'll echo what I hear everyone saying: Next year.

Comment 13 by Raymond Camden posted on 10/26/2006 at 8:53 PM

Michael: As far as I know it is 100% Java based, but don't quote me on that.

Comment 14 by Tobe Goldfinger posted on 10/29/2006 at 5:34 PM

Did you mean: works with blobs? (Otherwise I don't understand what blogs have to do with storing images in a database)..... although I readily understand why your fingers would type blog out of habit :)

Comment 15 by Ronald Nickel posted on 4/26/2007 at 11:03 PM

The first lin on my wishlist would be to convert cmyk to rgb images and reverse. Further all the basic function concerning image manipulation in the prepress environment. Not at last creating PDF WITH images on the fly!

have all a nice day
Ronny

Comment 16 by Eric00000007 posted on 8/2/2007 at 2:51 AM

And what about write metadata (XMP) ??

Comment 17 by Raymond Camden posted on 8/2/2007 at 5:12 PM

I don't think that is possible Eric.

Comment 18 by chris b posted on 10/12/2007 at 12:25 AM

is there any way to detect image quality/dpi w/ cfimage?

Comment 19 by Raymond Camden posted on 10/12/2007 at 12:28 AM

I believe that is part of the info. If you dump an image, or run getImageInfo() on it, you get a bunch of crap which mostly doesn't make sense to me.

Comment 20 by Philippe Maegerman posted on 4/24/2008 at 5:10 PM

I know this is an old post but I have noticed some strange behavior with CFImage.
Whenever the image is not 72 DPI, let's say 96, coldfusion throws exceptions 'file not found' when you try to manipulate it (cfimage action="RESIZE").

Comment 21 by Raymond Camden posted on 4/24/2008 at 5:14 PM

@PM: Make sure you are running 801, and if you still see the issue, file a bug report:

http://www.adobe.com/go/wish

Comment 22 by Philippe Maegerman posted on 4/24/2008 at 5:16 PM

We are running 801, I'll file a bug

Comment 23 by Richard Steele posted on 5/17/2008 at 8:14 PM

I see that 801 cfimage retains the EXIF metadata when used. Does it also retain the IPTC metadata?. It would be a shame if it didn't as that is the key way for photographers to keep their name associated with a jpg without an annoying watermark.