Table of Contents

Enum User.AvatarFormat

Namespace
DiscordRPC
Assembly
DiscordRPC.dll

Possible formats for avatars

public enum User.AvatarFormat

Fields

PNG = 0

Portable Network Graphics format (.png)

Losses format that supports transparent avatars. Most recommended for stationary formats with wide support from many libraries.

JPEG = 1

Joint Photographic Experts Group format (.jpeg)

The format most cameras use. Lossy and does not support transparent avatars.

WebP = 2

WebP format (.webp)

Picture only version of WebM. Pronounced "weeb p".

GIF = 3

Graphics Interchange Format (.gif)

Animated avatars that Discord Nitro users are able to use. If the user doesn't have an animated avatar, then it will just be a single frame gif.