fm.liveswitch.java.ImageUtility Class Reference

Utility class for common bitmap operations. More...

Static Public Member Functions

static VideoBuffer bufferedImageToBuffer (BufferedImage bufferedImage) throws Exception
 Copies a buffered image to a new video buffer. More...
 
static BufferedImage bufferToBufferedImage (VideoBuffer videoBuffer)
 Copies a video buffer to a buffered image. More...
 

Detailed Description

Utility class for common bitmap operations.

Member Function Documentation

◆ bufferedImageToBuffer()

static VideoBuffer fm.liveswitch.java.ImageUtility.bufferedImageToBuffer ( BufferedImage  bufferedImage) throws Exception
static

Copies a buffered image to a new video buffer.

Parameters
bufferedImageThe image to convert.

◆ bufferToBufferedImage()

static BufferedImage fm.liveswitch.java.ImageUtility.bufferToBufferedImage ( VideoBuffer  videoBuffer)
static

Copies a video buffer to a buffered image.

Parameters
videoBufferThe video buffer to convert.