|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IImage
| Method Summary | |
|---|---|
void |
encode(IDataStreamPtr returnValue,
java.lang.String formatextension)
Encode the image and return a stream to the data. |
IImage |
flipAroundX()
Flips (mirrors) the image around the X-axis. |
IImage |
flipAroundY()
Flips (mirrors) the image around the Y-axis. |
short |
getBPP()
Returns the number of bits per pixel. |
void |
getColourAt(IColourValue returnValue,
int x,
int y,
int z)
Get colour value from a certain location in the image. |
ShortPointer |
getData_const()
|
ShortPointer |
getData()
Returns a pointer to the internal image buffer. |
int |
getDepth()
Gets the depth of the image. |
PixelFormat |
getFormat()
Returns the image format. |
boolean |
getHasAlpha()
Returns true if the image has an alpha component. |
int |
getHeight()
Gets the height of the image in pixels. |
int |
getNumFaces()
Get the number of faces of the image. |
int |
getNumMipmaps()
Returns the number of mipmaps contained in the image. |
void |
getPixelBox(IPixelBox returnValue,
int face,
int mipmap)
Get a encapsulating the image data of a mipmap |
int |
getRowSpan()
Gets the physical width in bytes of each row of pixels. |
int |
getSize()
Returns the size of the data buffer. |
int |
getWidth()
Gets the width of the image in pixels. |
boolean |
hasFlag(ImageFlags imgFlag)
Returns true if the image has the appropriate flag set. |
IImage |
load(IDataStreamPtr stream,
java.lang.String type)
Loads an image file from a stream. |
IImage |
load(java.lang.String strFileName,
java.lang.String groupName)
Loads an image file. |
IImage |
loadDynamicImage(ShortPointer pData,
int uWidth,
int uHeight,
int depth,
PixelFormat eFormat,
boolean autoDelete,
int numFaces,
int numMipMaps)
Stores a pointer to raw data in memory. |
IImage |
loadDynamicImage(ShortPointer pData,
int uWidth,
int uHeight,
PixelFormat eFormat)
Stores a pointer to raw data in memory. |
IImage |
loadRawData(IDataStreamPtr stream,
int uWidth,
int uHeight,
int uDepth,
PixelFormat eFormat,
int numFaces,
int numMipMaps)
Loads raw data from a stream. |
IImage |
loadRawData(IDataStreamPtr stream,
int uWidth,
int uHeight,
PixelFormat eFormat)
Loads raw data from a stream. |
IImage |
operatorAssignment(IImage img)
Assignment operator - copies all the data from the target image. |
void |
resize(int width,
int height,
Image.Filter filter)
Resize a 2D image, applying the appropriate filter. |
void |
save(java.lang.String filename)
Save the image as a file. |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Method Detail |
|---|
IImage operatorAssignment(IImage img)
IImage flipAroundY()
IImage flipAroundX()
IImage loadDynamicImage(ShortPointer pData,
int uWidth,
int uHeight,
int depth,
PixelFormat eFormat,
boolean autoDelete,
int numFaces,
int numMipMaps)
IImage loadDynamicImage(ShortPointer pData,
int uWidth,
int uHeight,
PixelFormat eFormat)
IImage loadRawData(IDataStreamPtr stream,
int uWidth,
int uHeight,
int uDepth,
PixelFormat eFormat,
int numFaces,
int numMipMaps)
IImage loadRawData(IDataStreamPtr stream,
int uWidth,
int uHeight,
PixelFormat eFormat)
IImage load(java.lang.String strFileName,
java.lang.String groupName)
IImage load(IDataStreamPtr stream,
java.lang.String type)
void save(java.lang.String filename)
void encode(IDataStreamPtr returnValue,
java.lang.String formatextension)
ShortPointer getData()
ShortPointer getData_const()
int getSize()
int getNumMipmaps()
boolean hasFlag(ImageFlags imgFlag)
int getWidth()
int getHeight()
int getDepth()
int getNumFaces()
int getRowSpan()
PixelFormat getFormat()
short getBPP()
boolean getHasAlpha()
void getColourAt(IColourValue returnValue,
int x,
int y,
int z)
void getPixelBox(IPixelBox returnValue,
int face,
int mipmap)
void resize(int width,
int height,
Image.Filter filter)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||