public class WebPFrameBlock extends RasterCachedImage implements IFrame
Represents the webp blocks openers registry.
RasterCachedImage.RotateTestMode
Constructor and Description |
---|
WebPFrameBlock(int width,
int height)
Initializes a new instance of the
WebPFrameBlock class. |
WebPFrameBlock(RasterImage rasterImage)
Initializes a new instance of the
WebPFrameBlock class. |
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, binarizeBradley, binarizeBradley, binarizeFixed, binarizeOtsu, cacheData, crop, dither, getMaxAllowedAllocationForPartialRotateSave, getRotateMode, grayscale, isCached, resize, resize, rotate, rotateFlip, setMaxAllowedAllocationForPartialRotateSave, setRotateMode
crop, dither, filter, getArgb32Pixel, getDefaultArgb32Pixels, getDefaultPixels, getDefaultRawData, getDefaultRawData, getHorizontalResolution, getImageOpacity, getModifyDate, getPixel, getPremultiplyComponents, getRawCustomColorConverter, getRawDataFormat, getRawDataSettings, getRawFallbackIndex, getRawIndexedColorConverter, getRawLineSize, getTransparentColor, getUpdateXmpData, getUseRawData, getVerticalResolution, getXmpData, hasTransparentColor, isRawDataAvailable, loadArgb32Pixels, loadArgb64Pixels, loadCmyk32Pixels, loadCmykPixels, loadPartialArgb32Pixels, loadPartialPixels, loadPixels, loadRawData, loadRawData, readArgb32ScanLine, readScanLine, replaceColor, replaceColor, replaceNonTransparentColors, replaceNonTransparentColors, rotate, saveArgb32Pixels, saveCmyk32Pixels, saveCmykPixels, savePixels, saveRawData, setArgb32Pixel, setHorizontalResolution, setPalette, setPixel, setPremultiplyComponents, setRawCustomColorConverter, setRawFallbackIndex, setRawIndexedColorConverter, setResolution, setTransparentColor, setTransparentColor, setUpdateXmpData, setUseRawData, setVerticalResolution, setXmpData, toBitmap, writeArgb32ScanLine, writeScanLine
canLoad, canLoad, canLoad, canLoad, canSave, create, getBackgroundColor, getBounds, getContainer, getDefaultOptions, getFileFormat, getFileFormat, getFileFormat, getFittingRectangle, getFittingRectangle, getInterruptMonitor, getOriginalOptions, getPalette, getProportionalHeight, getProportionalWidth, getSize, hasBackgroundColor, isAutoAdjustPalette, load, load, load, load, load, load, resize, resizeHeightProportionally, resizeHeightProportionally, resizeHeightProportionally, resizeWidthProportionally, resizeWidthProportionally, resizeWidthProportionally, save, save, save, save, save, save, save, setAutoAdjustPalette, setBackgroundColor, setBackgroundColor, setInterruptMonitor, setPalette
getDataStreamContainer, save, save, save, save
close, dispose, getDisposed
public WebPFrameBlock(RasterImage rasterImage)
Initializes a new instance of the WebPFrameBlock
class.
rasterImage
- The raster image.public WebPFrameBlock(int width, int height)
Initializes a new instance of the WebPFrameBlock
class.
width
- The width.height
- The height.public int getBitsPerPixel()
Gets the image bits per pixel count.
getBitsPerPixel
in class Image
public int getHeight()
Gets the image height.
getHeight
in interface IObjectWithBounds
getHeight
in class Image
public int getWidth()
Gets the image width.
getWidth
in interface IObjectWithBounds
getWidth
in class Image
public boolean hasAlpha()
Gets a value indicating whether this instance has alpha.
hasAlpha
in class RasterImage
true
if this instance has alpha; otherwise, false
.public short getDuration()
Gets or sets the frame duration.
getDuration
in interface IFrame
public void setDuration(short value)
Gets or sets the frame duration.
setDuration
in interface IFrame
value
- The duration.public short getLeft()
Gets or sets the frame position left.
public void setLeft(short value)
Gets or sets the frame position left.
public short getTop()
Gets or sets the frame position top.
Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.