I spent some time working on image.cfc today

Thanks to Dave Anderson for providing some code and doing most of the
legwork for the new metadata feature - getImageInfo() now returns any
metadata it finds in the file.  It's worth mentioning that this only
works with local files, not images loaded via URLs, nor does it work
with image objects in memory.

I've also fixed some bugs, like there were numerous functions that
would return cryptic errors if they were unable to open the specified
file (ie, "img is not defined in loadImage").

I also ran it through varscoper to get everything properly varscoped,
there were a few things I'd missed.

Download:  http://www.opensourcecf.com/imagecfc/download.cfm

Metadata example:  http://www.opensourcecf.com/imagecfc/metadata_test/

the new code makes use of the java loader CFC to load a jar file with
some code written by Drew Noakes to retrieve the image metadata from
the jpeg files.

Rick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279518
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to