FileDocCategorySizeDatePackage
ImageAccess.javaAPI DocphoneME MR2 API (J2ME)3056Wed May 02 16:47:10 BST 2007com.sun.mmedia

ImageAccess

public interface ImageAccess
Provides methods to set parameters of platform specific images. Since Image class is defined differently on different platforms (midp, j2se, etc), core components can refer to images only as instances of class Object. This interface can help in checking if a given Object is an image and to retrieve image parameters.
created
November 8, 2005

Fields Summary
Constructors Summary
Methods Summary
public intalphaLevelsNumber()

public intgetImageHeight(java.lang.Object image)

public intgetImageWidth(java.lang.Object image)

public byte[]getRGBByteImageData(java.lang.Object image)

public int[]getRGBIntImageData(java.lang.Object image)

public java.lang.ObjectimageCreateFromByteArray(byte[] data, int offset, int length)

public java.lang.ObjectimageCreateFromImage(java.lang.Object image)

public java.lang.ObjectimageCreateFromStream(java.io.InputStream stream)

public booleanisImage(java.lang.Object image)

public booleanisMutableImage(java.lang.Object image)