Thanks Tane.

Yes, our ColdFusion application will serve us with visitor image captured
from webcam and stored in application directory. After that I'll display in
our application where users(application) will "crop" that visitor image. Mr
Google help me and gives me this great great piece of code:

http://www.phzzy.org/code/cropper/

and the best(using prototype):

http://www.defusion.org.uk/demos/060519/cropper.php

I'll be reading carefully this last example.

Cheers



2007/7/25, Tane Piper <[EMAIL PROTECTED]>:


There is no way AFAIK for JavaScript to capture a webcam stream, like
Flash can capture the stream.  But JavaScript can capture the image
from an HTTP stream.  I got this code from
http://web.nickshanks.com/code/js/cams

newImage = new Image();

function LoadNewImage() {
    var unique = new Date();
    document.images.webcam.src = newImage.src;
    newImage.src = "http://path/to/webcam.jpeg?time="; + unique.getTime();
}

If the users webcam is being served by an application that can serve
the image via HTTP, then you could capture an image from their stream
using this and then manipulate it.

On 7/25/07, Web Specialist <[EMAIL PROTECTED]> wrote:
> jQuery haves plugins available for web images capture? I'm developing a
> ColdFusion application to store visitors personal data including your
photo.
> What I'm looking for:
>
> - webcam captures visitor photo via iframe(or another solution) in our
form
> application;
> - users(application) can cut that photo via jQuery;
> - after all that image is saved in our server;
>
> Is it a dream? ;-)
>
> Cheers
>
>
>


--
Tane Piper
http://digitalspaghetti.tooum.net

This email is: [ ] blogable [ x ] ask first [ ] private

Reply via email to