public class IcoImage extends RasterCachedMultipageImage implements IMultipageImageExt
Effortlessly manipulate ICO image files with our API, supporting various file formats and frame types including PNG and BMP. Customize bits per pixel settings and update image dimensions seamlessly, ensuring optimal representation and compatibility for your icons across different platforms.
| Constructor and Description |
|---|
IcoImage(Image image,
IcoOptions icoOptions)
Crafted for simplicity and efficiency, the
IcoImage class empowers
you to create ICO images with ease. |
IcoImage(int width,
int height,
IcoOptions options)
Start ICO image creation effortlessly using the
IcoImage class. |
| Modifier and Type | Method and Description |
|---|---|
void |
addPage(Image page)
Enrich your ICO image effortlessly by inserting an image page entry using the default
settings from
IcoOptions. |
void |
addPage(Image page,
IcoOptions icoOptions)
Diversify your ICO image effortlessly by integrating an image entry tailored to
your needs with the specified
IcoOptions. |
void |
addPage(RasterImage page)
Expand your ICO image by adding an image page entry, leveraging the
IcoOptions. |
long |
getFileFormat()
Retrieve the file format effortlessly with this property, enabling seamless
integration into your workflow.
|
int |
getPageCount()
Gain immediate insight into the document structure with this straightforward
property.
|
Image[] |
getPages()
Retrieve comprehensive information about the document's pages effortlessly through
this property.
|
boolean |
hasAlpha()
Determine whether alpha channel is present in this instance with this property.
|
void |
removePage(int index)
Fine-tune your ICO image by removing a specific image entry located at the
designated within the file.
|
adjustBrightness, adjustContrast, adjustGamma, adjustGamma, analyzePercentageDigitalSignature, binarizeBradley, binarizeBradley, binarizeFixed, binarizeOtsu, blend, cacheData, crop, crop, dither, embedDigitalSignature, filter, getBackgroundColor, getBitsPerPixel, getHeight, getImageOpacity, getMetadata, getPageExportingAction, getWidth, grayscale, hasTransparentColor, isCached, isDigitalSigned, normalizeAngle, normalizeHistogram, replaceColor, replaceNonTransparentColors, resize, resize, resizeHeightProportionally, resizeWidthProportionally, rotate, rotateFlip, rotateFlipAll, setBackgroundColor, setPageExportingActionautoBrightnessContrastautoRotate, blend, blend, blend, dither, getArgb32Pixel, getDefaultArgb32Pixels, getDefaultPixels, getDefaultRawData, getDefaultRawData, getHorizontalResolution, getModifyDate, getPixel, getPremultiplyComponents, getRawCustomColorConverter, getRawDataFormat, getRawDataSettings, getRawFallbackIndex, getRawIndexedColorConverter, getRawLineSize, getSkewAngle, getTransparentColor, getUpdateXmpData, getUseRawData, getVerticalResolution, isDigitalSigned, isRawDataAvailable, isUsePalette, loadArgb32Pixels, loadArgb64Pixels, loadCmyk32Pixels, loadCmykPixels, loadPartialArgb32Pixels, loadPartialArgb64Pixels, loadPartialPixels, loadPixels, loadRawData, loadRawData, normalizeAngle, readArgb32ScanLine, readScanLine, removeMetadata, replaceColor, replaceNonTransparentColors, rotate, saveArgb32Pixels, saveCmyk32Pixels, saveCmykPixels, savePixels, saveRawData, setArgb32Pixel, setHorizontalResolution, setPalette, setPixel, setPremultiplyComponents, setRawCustomColorConverter, setRawFallbackIndex, setRawIndexedColorConverter, setResolution, setTransparentColor, setTransparentColor, setUpdateXmpData, setUseRawData, setVerticalResolution, toBitmap, writeArgb32ScanLine, writeScanLinecanLoad, canLoad, canLoad, canLoad, canSave, create, create, create, create, create, create, create, getBounds, getBufferSizeHint, getContainer, getDefaultOptions, getExifData, getFileFormat, getFileFormat, getFittingRectangle, getFittingRectangle, getInterruptMonitor, getIProgressEventHandler, getOriginalOptions, getPalette, getProgressEventHandlerInfo, getProportionalHeight, getProportionalWidth, getSerializedStream, getSize, getXmpData, hasBackgroundColor, isAutoAdjustPalette, load, load, load, load, load, load, resize, resizeHeightProportionally, resizeHeightProportionally, resizeWidthProportionally, resizeWidthProportionally, save, save, save, save, save, save, save, save, setAutoAdjustPalette, setBackgroundColor, setBufferSizeHint, setExifData, setInterruptMonitor, setPalette, setXmpData, trySetMetadatagetDataStreamContainer, save, save, saveclose, dispose, getDisposedequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPageExportingAction, setPageExportingActiongetXmpData, setXmpDatapublic IcoImage(int width,
int height,
IcoOptions options)
Start ICO image creation effortlessly using the IcoImage class. This
constructor allows you to initialize new instances of ICO images by specifying the
width, height, and creation options parameters. With this straightforward
constructor, you can tailor ICO images to your exact specifications, ensuring
seamless compatibility and visual appeal across different platforms and devices.
width - The width.height - The height.options - The ICO creation options.public IcoImage(Image image, IcoOptions icoOptions)
Crafted for simplicity and efficiency, the IcoImage class empowers
you to create ICO images with ease. This constructor initializes a new instance
of the class, providing a solid foundation for your image manipulation needs.
Whether you're developing applications or enhancing user interfaces, the
IcoImage class simplifies ICO image management, allowing you to focus
on delivering exceptional experiences.
image - The image.icoOptions - The ICO options.public long getFileFormat()
Retrieve the file format effortlessly with this property, enabling seamless integration into your workflow. By using this property, you gain access to critical information about the format of your file, ensuring compatibility and efficient processing.
getFileFormat in class ImageFileFormatpublic int getPageCount()
Gain immediate insight into the document structure with this straightforward property. By invoking this property, you effortlessly retrieve the total number of pages contained within the file.
getPageCount in interface IMultipageImagepublic Image[] getPages()
Retrieve comprehensive information about the document's pages effortlessly through this property. By accessing this property, you gain access to a collection or array containing all the pages present within the document.
getPages in interface IMultipageImagepublic boolean hasAlpha()
Determine whether alpha channel is present in this instance with this property. It offers a quick way to check if the image or document contains an alpha channel, which is crucial for various image processing and rendering tasks. Ideal for ensuring compatibility and handling transparency effects in images or documents.
hasAlpha in class RasterCachedMultipageImagepublic final void addPage(RasterImage page)
Expand your ICO image by adding an image page entry, leveraging the
IcoOptions. This method seamlessly incorporates raster images into
your ICO file, converting them to a high-quality 32-bit PNG format. Perfect for
enhancing your ICO files with raster images while ensuring optimal compatibility
and rendering quality.
addPage in interface IMultipageImageExtpage - The image.public final void addPage(Image page)
Enrich your ICO image effortlessly by inserting an image page entry using the default
settings from IcoOptions. This method conveniently converts the
inserted image to a 32-bit PNG format, ensuring compatibility and high-quality
rendering within the ICO image. Perfect for seamlessly integrating PNG images into
your ICO files with ease and efficiency.
page - The image.public final void addPage(Image page, IcoOptions icoOptions)
Diversify your ICO image effortlessly by integrating an image entry tailored to
your needs with the specified IcoOptions. This method seamlessly
incorporates the image according to your customized options, ensuring flexibility
and precision in your ICO file.
page - The image.icoOptions - The ICO options.public final void removePage(int index)
Fine-tune your ICO image by removing a specific image entry located at the designated within the file. This method provides precise control over your image composition, allowing you to refine your ICO file with ease.
index - The index.Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.