IcoOptions
Inheritance: java.lang.Object, com.aspose.imaging.DisposableObject, com.aspose.imaging.ImageOptionsBase
public class IcoOptions extends ImageOptionsBase
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.
Constructors
Constructor | Description |
---|---|
IcoOptions() | Initializes a new instance of the IcoOptions class with the ICO frame format equals to Png and bitsPerPixel equals to 32. |
IcoOptions(IcoOptions options) | |
IcoOptions(long format) | Initializes a new instance of the IcoOptions class with the ICO frame format equals to [format ] and bitsPerPixel equals to 32. |
IcoOptions(long format, int bitsPerPixel) | Initializes a new instance of the IcoOptions class. |
Methods
Method | Description |
---|---|
getFormat() | Gets the ICO frame format. |
setFormat(long value) | Sets the ICO frame format. |
getBitsPerPixel() | Gets the bits-per-pixel value. |
setBitsPerPixel(int value) | Sets the bits-per-pixel value. |
IcoOptions()
public IcoOptions()
Initializes a new instance of the IcoOptions class with the ICO frame format equals to Png and bitsPerPixel equals to 32.
IcoOptions(IcoOptions options)
public IcoOptions(IcoOptions options)
Parameters:
Parameter | Type | Description |
---|---|---|
options | IcoOptions |
IcoOptions(long format)
public IcoOptions(long format)
Initializes a new instance of the IcoOptions class with the ICO frame format equals to [format
] and bitsPerPixel equals to 32.
Parameters:
Parameter | Type | Description |
---|---|---|
format | long | The ICO frame format. Note that ICO image supports only FileFormat.Png and FileFormat.Bmp images as entries. |
IcoOptions(long format, int bitsPerPixel)
public IcoOptions(long format, int bitsPerPixel)
Initializes a new instance of the IcoOptions class.
Parameters:
Parameter | Type | Description |
---|---|---|
format | long | The ICO frame format. Note that ICO image supports only FileFormat.Png and FileFormat.Bmp images as entries. |
bitsPerPixel | int | The bits-per-pixel value. |
getFormat()
public final long getFormat()
Gets the ICO frame format.
Returns: long - the ICO frame format.
setFormat(long value)
public final void setFormat(long value)
Sets the ICO frame format.
Parameters:
Parameter | Type | Description |
---|---|---|
value | long | the ICO frame format. |
getBitsPerPixel()
public final int getBitsPerPixel()
Gets the bits-per-pixel value.
Returns: int - the bits-per-pixel value.
setBitsPerPixel(int value)
public final void setBitsPerPixel(int value)
Sets the bits-per-pixel value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the bits-per-pixel value. |