Hi,

2 things.

1) The code posted by you, 
    > 1   <CFset photoURL="http://www.foo.com/photo.jpg";>
    > 2   <CFimage Source="#photoURL#" action="read" name="photo">
    > 3   <CFSET PhotoEXIF=ImageGetEXIFMetadata(photo)>
    > 4   <CFDUMP var="#PhotoEXIF#">

We tried reproducing that case but couldnt and it worked fine with our
images. Can you send in your Image for us to further investigate it as
why the message "Exception occured in JPG processing. segment size would
extend beyond file stream length" was thrown ?

2) Then in the second case, you tried saving the images first locally
and then read the Exif data but it returned an empty struct. Thank you,
We already have a bug logged for the same. BUT I have a work around for
you to get rid off this problem.

Instead of using <CFIMAGE> to Save the Image locally, use <CFHTTP> and
then read the  EXIF Metadata as in the given below code.
---------------------------------------------------------
<CFset photoURL="http://localhost/IMAGE/Bird.jpg";>
<cfhttp  url="#photoURL#"  path="C:\Inetpub\wwwroot\IMAGE\"
file="phototemp.jpg">
<CFimage Source="C:\Inetpub\wwwroot\IMAGE\phototemp.jpg" name="photo">
<CFDUMP var="#ImageGetEXIFMetadata(photo)#">
----------------------------------------------------------

Hope this would help

Thanks & Regards,
Jayesh Viradiya
Adobe CF Team

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

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