Converts the value of a Color structure to a FI16RGB565 structure.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public static implicit operator FI16RGB565 (
	Color value
)
Visual Basic (Declaration)
Public Shared Widening Operator CType ( _
	value As Color _
) As FI16RGB565
Visual C++
static implicit operator FI16RGB565 (
	Color value
)

Parameters

value
Type: System.Drawing..::.Color
A Color structure.

Return Value

A new instance of FI16RGB565 initialized to value.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also