Hello all,
I'm using JMF to initialize a webcam source, grab a frame, save it as
a JPEG and upload to Picasa Web Albums.

I'm using the following code to grab a frame from a webcam player:

FrameGrabbingControl fgc = (FrameGrabbingControl)
myWebcamPlayer.getControl
( "javax.media.control.FrameGrabbingControl" );
Buffer buf = fgc.grabFrame();

Then i go about saving that Buffer buf as a JPEG image.

My question is: Is there anyway to take that Buffer buf, and use that
as a MediaSource or MediaFileSource instead of saving it as a file
first?

The documentation says: "....you can instead use MediaSource to use an
image from another kind of data stream."
But I just cannot find any further information on that.

I'd really appreciate if anyone can point me in the right direction...

Thanks in advance
-- 
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-picasa-data-api?hl=en.


Reply via email to