IcoOptions Class

Summary: Create custom ICO image files for application icons effortlessly with our API,
empowering you to represent your software seamlessly. Our API supports PNG and
BMP image frames with various bits per pixel values, ensuring versatility and
compatibility for your icon creation needs.

Module: aspose.imaging.imageoptions

Full Name: aspose.imaging.imageoptions.IcoOptions

Inheritance: IHasXmpData, IHasMetadata, ImageOptionsBase

Constructors

NameDescription
IcoOptions()Initializes a new instance of the IcoOptions class with the ICO frame format equals to Png and
bitsPerPixel equals to 32.
IcoOptions(format, bits_per_pixel)Initializes a new instance of the IcoOptions class.

Properties

NameTypeAccessDescription
bits_per_pixelintr/wGets or sets the bits-per-pixel value.
buffer_size_hintintr/wGets or sets the buffer size hint which is defined max allowed size for all internal buffers.
disposedboolrGets a value indicating whether this instance is disposed.
formatFileFormatr/wGets or sets the ICO frame format.
full_frameboolr/wGets or sets a value indicating whether [full frame].
keep_metadataboolr/wGets a value whether to keep original image metadata on export.
multi_page_optionsMultiPageOptionsr/wThe multipage options
paletteIColorPaletter/wGets or sets the color palette.
resolution_settingsResolutionSettingr/wGets or sets the resolution settings.
sourceSourcer/wGets or sets the source to create image in.
vector_rasterization_optionsVectorRasterizationOptionsr/wGets or sets the vector rasterization options.
xmp_dataXmpPacketWrapperr/wGets or sets the XMP metadata container.

Methods

NameDescription
clone()Clones this instance.

Constructor: IcoOptions()

 IcoOptions() 

Initializes a new instance of the IcoOptions class with the ICO frame format equals to Png and
bitsPerPixel equals to 32.

Constructor: IcoOptions(format, bits_per_pixel)

 IcoOptions(format, bits_per_pixel) 

Initializes a new instance of the IcoOptions class.

Parameters:

ParameterTypeDescription
formatFileFormatThe ICO frame format.
Note that ICO image supports only FileFormat.PNG and FileFormat.BMP images as entries.
bits_per_pixelintThe bits-per-pixel value.

Method: clone()

 clone() 

Clones this instance.

Returns

TypeDescription
ImageOptionsBaseReturns shallow copy of this instance