public class BitmapImage extends Image
Versatile class used for holding any raster data independently of format.
| Modifier and Type | Method and Description |
|---|---|
void |
cacheData()
Caches the data and ensures no additional data loading will be performed from the underlying
DataStreamSupporter.DataStreamContainer. |
int[] |
getData() |
int |
getHeight()
Gets the image height.
|
LoadOptions |
getLoadOptions()
Options this image was loaded with.
|
int |
getWidth()
Gets the image width.
|
boolean |
isCached()
Determines whether image is cached
|
canLoad, canLoad, canLoad, canLoad, canSave, getAnnotationService, getBounds, getContainer, getCustomProperties, getDepth, getFileFormat, getFileFormat, getPalette, getSize, getStrings, getUnitlessDefaultUnitType, getUnitType, getWatermarkGuardService, load, load, load, load, load, save, save, save, setPalettegetDataStreamContainer, save, save, save, saveclose, dispose, getDisposedpublic int getWidth()
Gets the image width.
Value: The image width.getWidth in interface IObjectWithBoundsgetWidth in class Imagepublic int getHeight()
Gets the image height.
Value: The image height.getHeight in interface IObjectWithBoundsgetHeight in class Imagepublic final LoadOptions getLoadOptions()
Options this image was loaded with.
public final int[] getData()
public boolean isCached()
Determines whether image is cached
isCached in class DataStreamSupporterpublic void cacheData()
DataStreamSupporter
Caches the data and ensures no additional data loading will be performed from the underlying DataStreamSupporter.DataStreamContainer.
cacheData in class DataStreamSupporterCopyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.