UtilIconProCreateIconBitmapEncoder(Image, Int32) Method

Creates a IconBitmapEncoder from the specified Image.

Definition

Namespace: DevCase.ThirdParty.IconPro
Assembly: DevCase.net48.ThirdParty.IconPro (in DevCase.net48.ThirdParty.IconPro.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static IconBitmapEncoder CreateIconBitmapEncoder(
	Image img,
	params int[] squareSizes
)

Parameters

img  Image
The source Image.
squareSizes  Int32
The square sizes to include in the icon (eg. 16 = 16x16, 32 = 32x32, etc).

If no value is specified, the size of the source image specified at img will be used.

Return Value

IconBitmapEncoder
The resulting IconBitmapEncoder.

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed libraries:

https://github.com/HerbertLausmann/HL.IconPro/releases

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also