Re: Image Problems Please Help !!!

[email protected]
Newsgroups gmane.comp.java.sun.kvm
Message-ID <1380734.218001185341169208.JavaMail.tomcat@sdcst12.sjc.collab.net>
VideoControl has a method, getSnapshot, that allows you to get a snapshot of the video is displaying. This is particularly useful when it is displaying live video from the phone’s camera, as it allows you to take a photo.

	byte[]pngImageData=videoControl.getSnapshot(null);

All devices that support video playing will also support the ability to get snapshots in PNG format. You can also specify other formats if the device supports them, and give a width and height:

	byte[]jpegImageData=videoControl.getSnapshot(“encoding=jpeg&width=120&height=90”);
[Message sent by forum member 'meetdeep' (meetdeep)]

http://forums.java.net/jive/thread.jspa?messageID=228092

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff KVM-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.