net.sf.fmj.media.util
Class ImageToBuffer

java.lang.Object
  extended by net.sf.fmj.media.util.ImageToBuffer
Direct Known Subclasses:
ImageToBuffer

public class ImageToBuffer
extends java.lang.Object

Implementation of javax.media.util.ImageToBuffer. TODO: need to take into account line stride, if it is different from what one would expect.

Author:
Ken Larson

Constructor Summary
ImageToBuffer()
           
 
Method Summary
static Buffer createBuffer(java.awt.Image image, float frameRate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageToBuffer

public ImageToBuffer()
Method Detail

createBuffer

public static Buffer createBuffer(java.awt.Image image,
                                  float frameRate)