Documentation ¶
Index ¶
Constants ¶
View Source
const MAX_LOSSLESS_SIZE = 256000.0 // 250KB
View Source
const MAX_PIXEL_HEIGHT = 1000
View Source
const MAX_PIXEL_WIDTH = 1000
View Source
const MAX_UPLOAD_SIZE = 2621440 // 2.5MB
View Source
const MIN_PIXEL_HEIGHT = 64
View Source
const MIN_PIXEL_WIDTH = 64
View Source
const QUALITY_AT_MAX_SIZE = 80.0 // A file at 2.5MB will encode at quality 80
View Source
const QUALITY_FACTOR = -((QUALITY_AT_MAX_SIZE / 100) * (MAX_LOSSLESS_SIZE - MAX_UPLOAD_SIZE)) / (1 - (QUALITY_AT_MAX_SIZE / 100))
Variables ¶
This section is empty.
Functions ¶
func EditProfilePicture ¶
func EditProfilePicture(router fiber.Router)
func GetChannelEmotesRoute ¶
func GetChannelEmotesRoute(router fiber.Router)
Types ¶
Click to show internal directories.
Click to hide internal directories.