public class WebPFrameBlock extends com.aspose.imaging.RasterCachedImage implements IFrame
Represents the webp blocks openers registry.
Constructor and Description |
---|
WebPFrameBlock(com.aspose.imaging.RasterCachedImage rasterImage) |
Modifier and Type | Method and Description |
---|---|
int |
getBitsPerPixel()
Gets the image bits per pixel count.
|
short |
getDuration()
Gets or sets the frame duration.
|
int |
getHeight()
Gets the image height.
|
short |
getLeft()
Gets or sets the frame position left.
|
short |
getTop()
Gets or sets the frame position top.
|
int |
getWidth()
Gets the image width.
|
boolean |
hasAlpha()
Gets a value indicating whether this instance has alpha.
|
void |
setDuration(short value)
Gets or sets the frame duration.
|
void |
setLeft(short value)
Gets or sets the frame position left.
|
void |
setTop(short value)
Gets or sets the frame position top.
|
adjustBrightness, adjustContrast, adjustGamma, adjustGamma, beginResize_internalized, binarizeBradley, binarizeFixed, binarizeOtsu, cacheData, crop, dither, getFormatSpecificPalette_internalized, grayscale, isCached, resize, resize, rotate, rotateFlip, setFormatSpecificPalette_internalized
crop, dither, filter, getArgb32Pixel, getDefaultArgb32Pixels, getDefaultPixels, getDefaultRawData, getDefaultRawData, getHorizontalResolution, getPixel, getRawCustomColorConverter, getRawDataFormat, getRawDataSettings, getRawFallbackIndex, getRawIndexedColorConverter, getRawLineSize, getTransparentColor, getVerticalResolution, getXmpData, hasTransparentColor, isRawDataAvailable, loadArgb32Pixels, loadCmykPixels, loadPartialArgb32Pixels, loadPartialPixels, loadPixels, loadRawData, readScanLine, rotate, saveArgb32Pixels, saveCmykPixels, savePixels, saveRawData, setArgb32Pixel, setHorizontalResolution, setPalette, setPixel, setRawCustomColorConverter, setRawFallbackIndex, setRawIndexedColorConverter, setResolution, setTransparentColor, setTransparentColor, setVerticalResolution, setXmpData, writeScanLine
canLoad, canLoad, canLoad, canLoad, canLoadInternal_internalized, canLoadInternal_internalized, canSave, create, getBackgroundColor, getBounds, getContainer, getFileFormat, getFileFormat, getFileFormatInternal_internalized, getFittingRectangle, getFittingRectangle, getPalette, getProportionalHeight, getProportionalWidth, getSize, getVentureLicense_internalized, hasBackgroundColor, load, load, load, load, loadInternal_internalized, loadInternal_internalized, resize, resizeHeightProportionally, resizeHeightProportionally, resizeHeightProportionally, resizeWidthProportionally, resizeWidthProportionally, resizeWidthProportionally, save_internalized, save, save, save, save, save, setBackgroundColor, setBackgroundColor, setContainer_internalized, setPalette, setVentureLicense_internalized
getDataStreamContainer, save_internalized, save, save, save, setDataStreamContainer
close, dispose, getDisposed
public WebPFrameBlock(com.aspose.imaging.RasterCachedImage rasterImage)
Initializes a new instance of the WebPFrameBlock
class.
rasterImage
- The raster image.public int getBitsPerPixel()
Gets the image bits per pixel count.
Value: The image bits per pixel count.getBitsPerPixel
in class Image
public int getHeight()
Gets the image height.
Value: The image height.getHeight
in interface IObjectWithBounds
getHeight
in class Image
public int getWidth()
Gets the image width.
Value: The image width.getWidth
in interface IObjectWithBounds
getWidth
in class Image
public boolean hasAlpha()
Gets a value indicating whether this instance has alpha.
Value:true
if this instance has alpha; otherwise, false
.hasAlpha
in class RasterImage
public short getDuration()
Gets or sets the frame duration.
Value: The duration.getDuration
in interface IFrame
public void setDuration(short value)
Gets or sets the frame duration.
Value: The duration.setDuration
in interface IFrame
public short getLeft()
Gets or sets the frame position left.
Value: The left.public void setLeft(short value)
Gets or sets the frame position left.
Value: The left.public short getTop()
Gets or sets the frame position top.
Value: The top.Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.