Not sure if DPI is stored in EXIF (or even if you're only using JPGs), but if 
so this page might help:
http://www.leavethatthingalone.com/blog/index.cfm/2006/5/16/Using-ColdFusion-to-Read-EXIF-Information-from-JPEGs

> I'm working on an application that needs to be able to find the Dpi of 
> an image uploaded by a user.
> 
> I'm trying to use an external Java Class to accomplish this but I keep 
> getting an error. 
> 
> I added the path to where the .class is located in the "Java and JVM" 
> Path in ColdFusion Administration and I have restarted the server.
> 
> The class file name is ImageInfo.class. 
> 
> When I try to call the class [imageIn = CreateObject("java", 
> "ImageInfo");] I get the error bellow. 
> 
> Object Instantiation Exception. 
> An exception occurred when instantiating a java object. The cause of 
> this exception was that: ImageInfo (wrong name: 
> org/devlib/schmidt/imageinfo/ImageInfo). 
> 
> So I then tried to call the class using the name 
> org/devlib/schmidt/imageinfo/ImageInfo, this time the error said that 
> the class could not be found.
> 
> Dose any one have any ideas on what I could be doing wrong.
> 
> Thanks
> 
> ----------------------
> 
Heath

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258548
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