com.github.sarxos.webcam
Class WebcamUtils

java.lang.Object
  extended by com.github.sarxos.webcam.WebcamUtils

public class WebcamUtils
extends Object


Constructor Summary
WebcamUtils()
           
 
Method Summary
static void capture(Webcam webcam, File file)
           
static void capture(Webcam webcam, File file, String format)
           
static void capture(Webcam webcam, String filename)
           
static void capture(Webcam webcam, String filename, String format)
           
static ByteBuffer getImageByteBuffer(Webcam webcam, String format)
           
static byte[] getImageBytes(Webcam webcam, String format)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebcamUtils

public WebcamUtils()
Method Detail

capture

public static final void capture(Webcam webcam,
                                 File file)

capture

public static final void capture(Webcam webcam,
                                 File file,
                                 String format)

capture

public static final void capture(Webcam webcam,
                                 String filename)

capture

public static final void capture(Webcam webcam,
                                 String filename,
                                 String format)

getImageBytes

public static final byte[] getImageBytes(Webcam webcam,
                                         String format)

getImageByteBuffer

public static final ByteBuffer getImageByteBuffer(Webcam webcam,
                                                  String format)


Copyright © 2012-2013 Bartosz Firyn (SarXos). All Rights Reserved.