RE: imageGetEXIFMetadata() getting hammered
Hello The problem with EXIF metadata getting lost is in our track and should be fixed in the next update from Adobe. So a workaround (download img through CFHTTP) can be avoided after that and should directly be able to read the Image metadata from the URL. Also have filed a bug for the problem mentioned by Paul here in this thread. Thanks, Jayesh Viradiya Adobe CF Team -Original Message- From: Paul Hastings [mailto:[EMAIL PROTECTED] Sent: Friday, September 28, 2007 6:01 AM To: CF-Talk Subject: Re: imageGetEXIFMetadata() getting hammered gary gilbert wrote: > Hi Paul can you give me the url for a couple images you are having problems > with so I can try on my end? the first four images on that EXIF url (http://www.drewnoakes.com/code/exif/exifImages/) should illustrate the issues: http://www.drewnoakes.com/code/exif/exifImages/Canon%20EOS%2020D%20(1).j pg http://www.drewnoakes.com/code/exif/exifImages/Canon%20EOS%2020D%20(2).j pg http://www.drewnoakes.com/code/exif/exifImages/Canon%20EOS%2020D%20(3).j pg http://www.drewnoakes.com/code/exif/exifImages/Canon%20EOS%20D60.jpg btw it looks like cf8's using his (drew) lib to power the EXIF & IPTC methods. ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289774 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: imageGetEXIFMetadata() getting hammered
gary gilbert wrote: > Hi Paul can you give me the url for a couple images you are having problems > with so I can try on my end? the first four images on that EXIF url (http://www.drewnoakes.com/code/exif/exifImages/) should illustrate the issues: http://www.drewnoakes.com/code/exif/exifImages/Canon%20EOS%2020D%20(1).jpg http://www.drewnoakes.com/code/exif/exifImages/Canon%20EOS%2020D%20(2).jpg http://www.drewnoakes.com/code/exif/exifImages/Canon%20EOS%2020D%20(3).jpg http://www.drewnoakes.com/code/exif/exifImages/Canon%20EOS%20D60.jpg btw it looks like cf8's using his (drew) lib to power the EXIF & IPTC methods. ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289719 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: imageGetEXIFMetadata() getting hammered
Hi Paul can you give me the url for a couple images you are having problems with so I can try on my end? Thanks Gary On 9/28/07, Paul Hastings <[EMAIL PROTECTED]> wrote: > > gary gilbert wrote: > > Hi Paul I had similar problems and blogged about it here: > > > http://www.garyrgilbert.com/blog/index.cfm/2007/8/8/CFIMAGE-Part-4-Remote-Images > > thanks, i'll have a read now. > > > The problem seems to be only with large images, smaller ones I didn't > give > > me a problem. If you try to pull a smaller image from flickr they tend > to > > no, i get this issue w/130kb as well as 2mb+ images on that site. in fact > the > image that's throwing the 500 error is the smallest one i tested. i've had > no > problems w/some fairly huge images (1944 x 2592) from a couple of nikons > both > local & "remote" (same server but grabbed from URL). > > > I tried to read the image from the url write it to disk and then read > the > > image back from disk but you end up losing the exif data when you do > that > > yup, i'm storing images in BLOBs for use w/flex so i need to save all the > EXIF > data i can. that's why i'm trying to develop some intelligence about what > to > expect from each major camera model. also curious about datetime formats > across > camera models. > > > I used > url="http://farm1.static.flickr.com/97/232021390_ad47422845_o.jpg > > " path="c:\"/> Which got the image and wrote it to disk with the > original > > yes i tried that (as well as simply copying, "save image as" in FF) but > still > ran into problems reading the EXIF for many files. > > thanks. > > ps: any idea about creating thumbnails from BLOBs then back to BLOBs? i > keep > getting errors about cfimage not knowing the image type (ie no file, so > type). > > > > ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289713 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: imageGetEXIFMetadata() getting hammered
gary gilbert wrote: > Hi Paul I had similar problems and blogged about it here: > http://www.garyrgilbert.com/blog/index.cfm/2007/8/8/CFIMAGE-Part-4-Remote-Images thanks, i'll have a read now. > The problem seems to be only with large images, smaller ones I didn't give > me a problem. If you try to pull a smaller image from flickr they tend to no, i get this issue w/130kb as well as 2mb+ images on that site. in fact the image that's throwing the 500 error is the smallest one i tested. i've had no problems w/some fairly huge images (1944 x 2592) from a couple of nikons both local & "remote" (same server but grabbed from URL). > I tried to read the image from the url write it to disk and then read the > image back from disk but you end up losing the exif data when you do that yup, i'm storing images in BLOBs for use w/flex so i need to save all the EXIF data i can. that's why i'm trying to develop some intelligence about what to expect from each major camera model. also curious about datetime formats across camera models. > I used url="http://farm1.static.flickr.com/97/232021390_ad47422845_o.jpg > " path="c:\"/> Which got the image and wrote it to disk with the original yes i tried that (as well as simply copying, "save image as" in FF) but still ran into problems reading the EXIF for many files. thanks. ps: any idea about creating thumbnails from BLOBs then back to BLOBs? i keep getting errors about cfimage not knowing the image type (ie no file, so type). ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289705 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: imageGetEXIFMetadata() getting hammered
Hi Paul I had similar problems and blogged about it here: http://www.garyrgilbert.com/blog/index.cfm/2007/8/8/CFIMAGE-Part-4-Remote-Images The problem seems to be only with large images, smaller ones I didn't give me a problem. If you try to pull a smaller image from flickr they tend to discard all the exif data on all resized images only the original has the data. The problem is most people tend to upload the largest size possible (or perhaps its only me). I tried to read the image from the url write it to disk and then read the image back from disk but you end up losing the exif data when you do that (which I would think would be a bug, as well as the "Exception occured in JPG processing. segment size would extend beyond file stream length" error). I then decide to try something quite different :) I used http://farm1.static.flickr.com/97/232021390_ad47422845_o.jpg " path="c:\"/> Which got the image and wrote it to disk with the original name with the exif data intact. I then could read the image in using and get the exif data without problem and output it. -- Gary Gilbert http://www.garyrgilbert.com/blog ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289703 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
imageGetEXIFMetadata() getting hammered
trying to build a lib of EXIF data produced by various cameras, starting w/images from http://www.drewnoakes.com/code/exif/exifImages/ (thanks to seth duffey for the info) trying to grab the data remotely always produces "Exception occured in JPG processing. segment size would extend beyond file stream length" errors on the imageGetEXIFMetadata() bits. copying the images locally produced different results: - some worked ok - some threw java.lang.NegativeArraySizeException errors - some threw 500 errors! java.lang.OutOfMemoryError: Java heap space at com.drew.metadata.exif.ExifReader.processTag(Unknown Source) locally windows explorer could grab the EXIF data just fine in all cases. anybody else see this sort of thing? any workaround? thanks. ~| 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:289699 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4