public final class WebPImage extends RasterCachedImage
A webp image.
This example shows how to load a WebP image from a file and save it to PNG.
String dir = "c:\\temp\\"; // Load a WebP image from a file. com.aspose.imaging.fileformats.webp.WebPImage webPImage = new com.aspose.imaging.fileformats.webp.WebPImage(dir + "test.webp"); try { // Save to PNG // Note that only the active frame will be stored to PNG, since PNG is not a multi-page format. webPImage.save(dir + "test.output.png", new com.aspose.imaging.imageoptions.PngOptions()); } finally { webPImage.dispose(); }
Constructor and Description |
---|
WebPImage(InputStream stream)
Initializes a new instance of the
WebPImage class
from stream. |
WebPImage(InputStream stream,
LoadOptions loadOptions)
Initializes a new instance of the
WebPImage class from stream. |
WebPImage(int width,
int height,
WebPOptions options)
Initializes a new instance of the
WebPImage class with empty image. |
WebPImage(int width,
int height,
WebPOptions options,
LoadOptions loadOptions)
Initializes a new instance of the
WebPImage class with empty image. |
WebPImage(RasterImage rasterImage)
Initializes a new instance of the
WebPImage class from rasterImage. |
WebPImage(RasterImage rasterImage,
LoadOptions loadOptions)
Initializes a new instance of the
WebPImage class from rasterImage. |
WebPImage(String path)
Initializes a new instance of the
WebPImage class from file. |
WebPImage(String path,
LoadOptions loadOptions)
Initializes a new instance of the
WebPImage class from file. |
Modifier and Type | Method and Description |
---|---|
void |
addBlock(IFrame block)
Adds a new Webp block.
|
void |
adjustBrightness(int brightness)
Adjust of a
brightness for image. |
void |
adjustContrast(float contrast)
Image contrasting |
void |
adjustGamma(float gamma)
Gamma-correction of an image.
|
void |
adjustGamma(float gammaRed,
float gammaGreen,
float gammaBlue)
Gamma-correction of an image.
|
void |
binarizeBradley(double brightnessDifference,
int windowSize)
Binarization of an image using Bradley's adaptive thresholding algorithm using the integral image thresholding
|
void |
binarizeFixed(byte threshold)
Binarization of an image with predefined threshold
|
void |
binarizeOtsu()
Binarization of an image with Otsu thresholding
|
void |
clearBlocks()
Clears all the Webp blocks.
|
void |
crop(Rectangle rectangle)
Cropping the image.
|
void |
dither(int ditheringMethod,
int bitsCount,
IColorPalette customPalette)
Performs dithering on the current image.
|
void |
filter(Rectangle rectangle,
FilterOptionsBase options)
Filters the specified rectangle.
|
int |
getBitsPerPixel()
Gets the image bits per pixel count.
|
IFrame[] |
getBlocks()
Gets the Webp blocks.
|
long |
getFileFormat()
Gets a value of file format
|
int |
getHeight()
Gets the image height.
|
float |
getImageOpacity()
Gets opacity of this image.
|
WebPOptions |
getOptions()
Gets or sets the options.
|
int |
getWidth()
Gets the image width.
|
void |
grayscale()
Transformation of an image to its grayscale representation
|
boolean |
hasAlpha()
Gets a value indicating whether this instance has alpha.
|
void |
insertBlock(int index,
IFrame block)
Adds a new Webp block.
|
void |
removeBlock(IFrame block)
Removes the Webp block.
|
void |
replaceColor(int oldColorArgb,
byte oldColorDiff,
int newColorArgb)
Replaces one color to another with allowed difference and preserves original alpha value to save smooth edges.
|
void |
replaceNonTransparentColors(int newColorArgb)
Replaces all non-transparent colors with new color and preserves original alpha value to save smooth edges.
|
void |
resize(int newWidth,
int newHeight,
ImageResizeSettings settings)
Resizes the image.
|
void |
resize(int newWidth,
int newHeight,
int resizeType)
Resizes the image.
|
void |
rotate(float angle,
boolean resizeProportionally,
Color backgroundColor)
WebPImage.Rotate image around the center. |
void |
rotateFlipAll(int rotateFlip)
Rotates the flip all frames in the image.
|
binarizeBradley, cacheData, isCached, rotateFlip
crop, dither, getArgb32Pixel, getDefaultArgb32Pixels, getDefaultPixels, getDefaultRawData, getDefaultRawData, getHorizontalResolution, getModifyDate, getPixel, getPremultiplyComponents, getRawCustomColorConverter, getRawDataFormat, getRawDataSettings, getRawFallbackIndex, getRawIndexedColorConverter, getRawLineSize, getSkewAngle, getTransparentColor, getUpdateXmpData, getUseRawData, getVerticalResolution, getXmpData, hasTransparentColor, isRawDataAvailable, loadArgb32Pixels, loadArgb64Pixels, loadCmyk32Pixels, loadCmykPixels, loadPartialArgb32Pixels, loadPartialPixels, loadPixels, loadRawData, loadRawData, normalizeAngle, normalizeAngle, readArgb32ScanLine, readScanLine, replaceColor, 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, getBufferSizeHint, getContainer, getDefaultOptions, 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, setBufferSizeHint, setInterruptMonitor, setPalette
getDataStreamContainer, save, save, save, save
close, dispose, getDisposed
public WebPImage(InputStream stream)
Initializes a new instance of the WebPImage
class
from stream.
stream
- The stream WebP image.This example shows how to load a WebP image from a file stream and save it to PNG.
String dir = "c:\\temp\\"; // Load a WebP image from a file stream. java.io.InputStream stream = new java.io.FileInputStream(dir + "test.webp"); com.aspose.imaging.fileformats.webp.WebPImage webPImage = new com.aspose.imaging.fileformats.webp.WebPImage(stream); try { // Save to PNG // Note that only the active frame will be stored to PNG, since PNG is not a multi-page format. webPImage.save(dir + "test.output.png", new com.aspose.imaging.imageoptions.PngOptions()); } finally { webPImage.dispose(); }
public WebPImage(InputStream stream, LoadOptions loadOptions)
Initializes a new instance of the WebPImage
class from stream.
stream
- The stream WebP image.loadOptions
- The load options.public WebPImage(String path)
Initializes a new instance of the WebPImage
class from file.
path
- The path to file WebP ImageThis example shows how to load a WebP image from a file and save it to PNG.
String dir = "c:\\temp\\"; // Load a WebP image from a file. com.aspose.imaging.fileformats.webp.WebPImage webPImage = new com.aspose.imaging.fileformats.webp.WebPImage(dir + "test.webp"); try { // Save to PNG // Note that only the active frame will be stored to PNG, since PNG is not a multi-page format. webPImage.save(dir + "test.output.png", new com.aspose.imaging.imageoptions.PngOptions()); } finally { webPImage.dispose(); }
public WebPImage(String path, LoadOptions loadOptions)
Initializes a new instance of the WebPImage
class from file.
path
- The path to file WebP ImageloadOptions
- The load options.public WebPImage(RasterImage rasterImage)
Initializes a new instance of the WebPImage
class from rasterImage.
rasterImage
- The raster image.This example shows how to create a WebP image from another raster image.
String dir = "c:\\temp\\"; // Load a PNG image of 100x100 px. com.aspose.imaging.fileformats.png.PngImage pngImage = new com.aspose.imaging.fileformats.png.PngImage(100, 100); try { com.aspose.imaging.Graphics graphics = new com.aspose.imaging.Graphics(pngImage); // Fill the entire image in red. com.aspose.imaging.brushes.SolidBrush brush = new com.aspose.imaging.brushes.SolidBrush(com.aspose.imaging.Color.getRed()); graphics.fillRectangle(brush, pngImage.getBounds()); // Create a WebP image based on the PNG image. com.aspose.imaging.fileformats.webp.WebPImage webPImage = new com.aspose.imaging.fileformats.webp.WebPImage(pngImage); try { // Save to a WebP file with default options webPImage.save(dir + "output.webp", new com.aspose.imaging.imageoptions.WebPOptions()); } finally { webPImage.dispose(); } } finally { pngImage.dispose(); }
public WebPImage(RasterImage rasterImage, LoadOptions loadOptions)
Initializes a new instance of the WebPImage
class from rasterImage.
rasterImage
- The raster image.loadOptions
- The load options.public WebPImage(int width, int height, WebPOptions options)
Initializes a new instance of the WebPImage
class with empty image.
width
- The image widthheight
- The image height.options
- The options.This example shows how to create a WebP image with the specified options from scratch.
String dir = "c:\\temp\\"; com.aspose.imaging.imageoptions.WebPOptions createOptions = new com.aspose.imaging.imageoptions.WebPOptions(); createOptions.setLossless(true); createOptions.setQuality(100f); //createOptions.Source = new Aspose.Imaging.Sources.FileCreateSource(dir + "output.webp"); // Create a WebP image of 100x100 px. com.aspose.imaging.fileformats.webp.WebPImage webPImage = new com.aspose.imaging.fileformats.webp.WebPImage(100, 100, createOptions); try { com.aspose.imaging.Graphics graphics = new com.aspose.imaging.Graphics(webPImage); // Fill the entire image in red. com.aspose.imaging.brushes.SolidBrush brush = new com.aspose.imaging.brushes.SolidBrush(com.aspose.imaging.Color.getRed()); graphics.fillRectangle(brush, webPImage.getBounds()); // Save to a WebP file webPImage.save(dir + "output.webp"); } finally { webPImage.dispose(); }
public WebPImage(int width, int height, WebPOptions options, LoadOptions loadOptions)
Initializes a new instance of the WebPImage
class with empty image.
width
- The image widthheight
- The image height.options
- The options.loadOptions
- The load options.public WebPOptions getOptions()
Gets or sets the options.
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 IFrame[] getBlocks()
Gets the Webp blocks.
public boolean hasAlpha()
Gets a value indicating whether this instance has alpha.
hasAlpha
in class RasterImage
true
if this instance has alpha; otherwise, false
.The following example loads a WEBP image and prints information about raw data format and alpha channel.
String dir = "c:\\temp\\"; String fileName = dir + "sample.webp"; com.aspose.imaging.Image image = com.aspose.imaging.Image.load(fileName); try { com.aspose.imaging.fileformats.webp.WebPImage webpImage = (com.aspose.imaging.fileformats.webp.WebPImage) image; // If the active TIFF frame has alpha channel, then the entire TIFF image is considered to have alpha channel. System.out.printf("ImageFile=%s, FileFormat=%s, HasAlpha=%s\r\n", fileName, webpImage.getRawDataFormat(), webpImage.hasAlpha()); int i = 0; for (com.aspose.imaging.fileformats.webp.IFrame frame : webpImage.getBlocks()) { if (frame instanceof com.aspose.imaging.fileformats.webp.WebPFrameBlock) { com.aspose.imaging.fileformats.webp.WebPFrameBlock frameBlock = (com.aspose.imaging.fileformats.webp.WebPFrameBlock) frame; System.out.printf("Frame=%s, FileFormat=%s, HasAlpha=%s\r\n", i++, frameBlock.getRawDataFormat(), frameBlock.hasAlpha()); } } } finally { image.dispose(); } // The output may look like this: // ImageFile=c:\temp\sample.webp, FileFormat=RgbIndexed1Bpp, used channels: 1, HasAlpha=False // Frame=0, FileFormat=RgbIndexed1Bpp, used channels: 1, HasAlpha=False
public float getImageOpacity()
Gets opacity of this image.
getImageOpacity
in class RasterImage
public long getFileFormat()
Gets a value of file format
getFileFormat
in class Image
public void adjustBrightness(int brightness)
Adjust of a brightness
for image.
adjustBrightness
in class RasterCachedImage
brightness
- Brightness value.public void adjustContrast(float contrast)
Image
contrasting
adjustContrast
in class RasterCachedImage
contrast
- Contrast value (in range [-100; 100])public void adjustGamma(float gammaRed, float gammaGreen, float gammaBlue)
Gamma-correction of an image.
adjustGamma
in class RasterCachedImage
gammaRed
- Gamma for red channel coefficientgammaGreen
- Gamma for green channel coefficientgammaBlue
- Gamma for blue channel coefficientpublic void adjustGamma(float gamma)
Gamma-correction of an image.
adjustGamma
in class RasterCachedImage
gamma
- Gamma for red, green and blue channels coefficientpublic void binarizeFixed(byte threshold)
Binarization of an image with predefined threshold
binarizeFixed
in class RasterCachedImage
threshold
- Threshold value. If corresponding gray value of a pixel is greater than threshold, a value of 255 will be assigned to it, 0 otherwise.public void binarizeBradley(double brightnessDifference, int windowSize)
Binarization of an image using Bradley's adaptive thresholding algorithm using the integral image thresholding
binarizeBradley
in class RasterCachedImage
brightnessDifference
- The brightness difference between pixel and the average of an s x s window of pixels centered around this pixel.windowSize
- The size of s x s window of pixels centered around this pixelpublic void binarizeOtsu()
Binarization of an image with Otsu thresholding
binarizeOtsu
in class RasterCachedImage
public void crop(Rectangle rectangle)
Cropping the image.
crop
in class RasterCachedImage
rectangle
- The rectangle.public void dither(int ditheringMethod, int bitsCount, IColorPalette customPalette)
Performs dithering on the current image.
dither
in class RasterCachedImage
ditheringMethod
- The dithering method.bitsCount
- The final bits count for dithering.customPalette
- The custom palette for dithering.public void grayscale()
Transformation of an image to its grayscale representation
grayscale
in class RasterCachedImage
public void rotate(float angle, boolean resizeProportionally, Color backgroundColor)
WebPImage.Rotate
image around the center.
rotate
in class RasterCachedImage
angle
- The rotate angle in degrees. Positive values will rotate clockwise.resizeProportionally
- if set to true
you will have your image size changed
according to rotated rectangle (corner points) projections in other
case that leaves dimensions untouched and only
image contents are rotated.backgroundColor
- Color of the background.public void resize(int newWidth, int newHeight, int resizeType)
Resizes the image.
resize
in class RasterCachedImage
newWidth
- The new width.newHeight
- The new height.resizeType
- The resize type.This example loads a WEBP image and resizes it using various resizing methods.
String dir = "c:\\temp\\"; com.aspose.imaging.fileformats.webp.WebPImage image = (com.aspose.imaging.fileformats.webp.WebPImage) com.aspose.imaging.Image.load(dir + "sample.webp"); try { // Scale up by 2 times using Nearest Neighbour resampling. image.resize(image.getWidth() * 2, image.getHeight() * 2, com.aspose.imaging.ResizeType.NearestNeighbourResample); // Save to PNG with default options. image.save(dir + "upsample.nearestneighbour.png", new com.aspose.imaging.imageoptions.PngOptions()); } finally { image.dispose(); } image = (com.aspose.imaging.fileformats.webp.WebPImage) com.aspose.imaging.Image.load(dir + "sample.webp"); try { // Scale down by 2 times using Nearest Neighbour resampling. image.resize(image.getWidth() / 2, image.getHeight() / 2, com.aspose.imaging.ResizeType.NearestNeighbourResample); // Save to PNG with default options. image.save(dir + "downsample.nearestneighbour.png", new com.aspose.imaging.imageoptions.PngOptions()); } finally { image.dispose(); } image = (com.aspose.imaging.fileformats.webp.WebPImage) com.aspose.imaging.Image.load(dir + "sample.webp"); try { // Scale up by 2 times using Bilinear resampling. image.resize(image.getWidth() * 2, image.getHeight() * 2, com.aspose.imaging.ResizeType.BilinearResample); // Save to PNG with default options. image.save(dir + "upsample.bilinear.png", new com.aspose.imaging.imageoptions.PngOptions()); } finally { image.dispose(); } image = (com.aspose.imaging.fileformats.webp.WebPImage) com.aspose.imaging.Image.load(dir + "sample.webp"); try { // Scale down by 2 times using Bilinear resampling. image.resize(image.getWidth() / 2, image.getHeight() / 2, com.aspose.imaging.ResizeType.BilinearResample); // Save to PNG with default options. image.save(dir + "downsample.bilinear.png", new com.aspose.imaging.imageoptions.PngOptions()); } finally { image.dispose(); }
public void resize(int newWidth, int newHeight, ImageResizeSettings settings)
Resizes the image.
resize
in class RasterCachedImage
newWidth
- The new width.newHeight
- The new height.settings
- The resize settings.public void addBlock(IFrame block)
Adds a new Webp block.
block
- The Webp block to add.This example shows how to create a multi-frame animated WebP image with the specified options.
String dir = "c:\\temp\\"; com.aspose.imaging.imageoptions.WebPOptions createOptions = new com.aspose.imaging.imageoptions.WebPOptions(); createOptions.setLossless(true); createOptions.setQuality(100f); createOptions.setAnimBackgroundColor((long) com.aspose.imaging.Color.getGray().toArgb()); // The default frame plus 36 + 36 additional frames. createOptions.setAnimLoopCount(36 + 36 + 1); // Create a WebP image of 100x100 px. com.aspose.imaging.fileformats.webp.WebPImage webPImage = new com.aspose.imaging.fileformats.webp.WebPImage(100, 100, createOptions); try { // The first circle is red com.aspose.imaging.brushes.SolidBrush brush1 = new com.aspose.imaging.brushes.SolidBrush(com.aspose.imaging.Color.getRed()); // The second circle is black com.aspose.imaging.brushes.SolidBrush brush2 = new com.aspose.imaging.brushes.SolidBrush(com.aspose.imaging.Color.getBlack()); // Gradually increase the angle of the red arc shape. for (int angle = 10; angle <= 360; angle += 10) { com.aspose.imaging.fileformats.webp.WebPFrameBlock block = new com.aspose.imaging.fileformats.webp.WebPFrameBlock(100, 100); com.aspose.imaging.Graphics graphics = new com.aspose.imaging.Graphics(block); graphics.fillPie(brush1, block.getBounds(), 0, angle); webPImage.addBlock(block); } // Gradually increase the angle of the black arc and wipe out the red arc. for (int angle = 10; angle <= 360; angle += 10) { com.aspose.imaging.fileformats.webp.WebPFrameBlock block = new com.aspose.imaging.fileformats.webp.WebPFrameBlock(100, 100); com.aspose.imaging.Graphics graphics = new com.aspose.imaging.Graphics(block); graphics.fillPie(brush2, block.getBounds(), 0, angle); graphics.fillPie(brush1, block.getBounds(), angle, 360 - angle); webPImage.addBlock(block); } // Save to a WebP file webPImage.save(dir + "output.webp"); } finally { webPImage.dispose(); }
public void clearBlocks()
Clears all the Webp blocks.
public void insertBlock(int index, IFrame block)
Adds a new Webp block.
index
- The zero-based element, at which block
will be
inserted.block
- The Webp block to add.public void removeBlock(IFrame block)
Removes the Webp block.
block
- The block to remove.
Note: do not forget to Dispose the block
if you
will not add it to some other WebPImage.
public void rotateFlipAll(int rotateFlip)
Rotates the flip all frames in the image.
rotateFlip
- The rotate flip type to perform.public void filter(Rectangle rectangle, FilterOptionsBase options)
Filters the specified rectangle.
filter
in class RasterImage
rectangle
- The rectangle.options
- The options.The following example applies various types of filters to a WEBP image.
String dir = "c:\\temp\\"; com.aspose.imaging.Image image = com.aspose.imaging.Image.load(dir + "sample.webp"); try { com.aspose.imaging.fileformats.webp.WebPImage webpImage = (com.aspose.imaging.fileformats.webp.WebPImage) image; // Apply a median filter with a rectangle size of 5 to the entire image. webpImage.filter(webpImage.getBounds(), new com.aspose.imaging.imagefilters.filteroptions.MedianFilterOptions(5)); webpImage.save(dir + "sample.MedianFilter.png", new com.aspose.imaging.imageoptions.PngOptions()); } finally { image.dispose(); } image = com.aspose.imaging.Image.load(dir + "sample.webp"); try { com.aspose.imaging.fileformats.webp.WebPImage webpImage = (com.aspose.imaging.fileformats.webp.WebPImage) image; // Apply a bilateral smoothing filter with a kernel size of 5 to the entire image. webpImage.filter(webpImage.getBounds(), new com.aspose.imaging.imagefilters.filteroptions.BilateralSmoothingFilterOptions(5)); webpImage.save(dir + "sample.BilateralSmoothingFilter.png", new com.aspose.imaging.imageoptions.PngOptions()); } finally { image.dispose(); } image = com.aspose.imaging.Image.load(dir + "sample.webp"); try { com.aspose.imaging.fileformats.webp.WebPImage webpImage = (com.aspose.imaging.fileformats.webp.WebPImage) image; // Apply a Gaussian blur filter with a radius of 5 and a sigma value of 4.0 to the entire image. webpImage.filter(webpImage.getBounds(), new com.aspose.imaging.imagefilters.filteroptions.GaussianBlurFilterOptions(5, 4.0)); webpImage.save(dir + "sample.GaussianBlurFilter.png", new com.aspose.imaging.imageoptions.PngOptions()); } finally { image.dispose(); } image = com.aspose.imaging.Image.load(dir + "sample.webp"); try { com.aspose.imaging.fileformats.webp.WebPImage webpImage = (com.aspose.imaging.fileformats.webp.WebPImage) image; // Apply a Gauss-Wiener filter with a radius of 5 and a smooth value of 4.0 to the entire image. webpImage.filter(webpImage.getBounds(), new com.aspose.imaging.imagefilters.filteroptions.GaussWienerFilterOptions(5, 4.0)); webpImage.save(dir + "sample.GaussWienerFilter.png", new com.aspose.imaging.imageoptions.PngOptions()); } finally { image.dispose(); } image = com.aspose.imaging.Image.load(dir + "sample.webp"); try { com.aspose.imaging.fileformats.webp.WebPImage webpImage = (com.aspose.imaging.fileformats.webp.WebPImage) image; // Apply a motion wiener filter with a length of 5, a smooth value of 4.0 and an angle of 90.0 degrees to the entire image. webpImage.filter(webpImage.getBounds(), new com.aspose.imaging.imagefilters.filteroptions.MotionWienerFilterOptions(10, 1.0, 90.0)); webpImage.save(dir + "sample.MotionWienerFilter.png", new com.aspose.imaging.imageoptions.PngOptions()); } finally { image.dispose(); } image = com.aspose.imaging.Image.load(dir + "sample.webp"); try { com.aspose.imaging.fileformats.webp.WebPImage webpImage = (com.aspose.imaging.fileformats.webp.WebPImage) image; // Apply a sharpen filter with a kernel size of 5 and a sigma value of 4.0 to the entire image. webpImage.filter(webpImage.getBounds(), new com.aspose.imaging.imagefilters.filteroptions.SharpenFilterOptions(5, 4.0)); webpImage.save(dir + "sample.SharpenFilter.png", new com.aspose.imaging.imageoptions.PngOptions()); } finally { image.dispose(); }
public void replaceColor(int oldColorArgb, byte oldColorDiff, int newColorArgb)
Replaces one color to another with allowed difference and preserves original alpha value to save smooth edges.
replaceColor
in class RasterImage
oldColorArgb
- Old color ARGB value to be replaced.oldColorDiff
- Allowed difference in old color to be able to widen replaced color tone.newColorArgb
- New color ARGB value to replace old color with.public void replaceNonTransparentColors(int newColorArgb)
Replaces all non-transparent colors with new color and preserves original alpha value to save smooth edges. Note: if you use it on images without transparency, all colors will be replaced with a single one.
replaceNonTransparentColors
in class RasterImage
newColorArgb
- New color ARGB value to replace non transparent colors with.Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.