Depending on what EXIF data gets written to the file, you might inspect it
using imageGetEXIFMetadata() and determine a change.  Usually cameras will
drop the date taken in there, maybe your webcam does too.

<cfimage source="/path/to/your/file.jpg" name="myImage" />
<cfset test = imageGetEXIFMetadata(myImage) />
<cfdump var="#test#" />

-Cameron

On Mon, Jan 9, 2012 at 9:52 AM, Mike Kear <afpwebwo...@gmail.com> wrote:

>
>  I have a webcam in the studio of our radio station, and it hangs
> sometimes.  I want to try to pin down when this happens, and send myself an
> email with the time etc so i can track down what's causing the camera to
> hang.     The webcam software uploads an image to the site every 30
> seconds,  so I figure i can track down when this hanging is occurring by
> comparing the current image with one that was uploaded 30 seconds ago.
>  When they are identical, that tells me when the camera stalled.
>
> Here's my question:   how can I use CF9  (enterprise if it makes any
> difference) to determine if the current image is identical to the one
> uploaded 30 seconds ago?
>
> Is there a CF image function or tag that will compare one image with
> another?  If not,  is there a java function or something I can use?
>
>
> Cheers
> Mike Kear
> Windsor, NSW, Australia
> Adobe Certified Advanced ColdFusion Developer
> AFP Webworks
> http://afpwebworks.com
> ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349365
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to