Skip to main content

Enum ImageFormat

Specifies the type of format the image should return in.

Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public enum ImageFormat

Fields​

Auto​

Use automatically detected format.

View Source​
Declaration
Auto = 0

WebP​

Use Google's WebP image format.

View Source​
Declaration
WebP = 1

Png​

Use PNG.

View Source​
Declaration
Png = 2

Jpeg​

Use JPEG.

View Source​
Declaration
Jpeg = 3

Gif​

Use GIF.

View Source​
Declaration
Gif = 4