Table of Contents

ImageFormatInfo.Get Method

Definition

Namespace
GleamTech.ImageUltimate
Assembly
GleamTech.ImageUltimate.dll

Get(string)

Gets the image format info by file name or path or extension.

public static ImageFormatInfo Get(string file)

Parameters

file string

The file name or path or extension (with or without leading dot) of the image.

Returns

ImageFormatInfo

a ImageFormatInfo object if there is a match; otherwise, null.

Get(ImageFormat)

Gets the image format info corresponding to the specified ImageFormat enumeration value.

public static ImageFormatInfo Get(ImageFormat format)

Parameters

format ImageFormat

The image format.

Returns

ImageFormatInfo

a ImageFormatInfo object if there is a match; otherwise, null.