Centres and crops the video.
The video end time of the sticker. By default, stickers are made from the first 5 seconds of the video
Desired Frames per second of the sticker output
Prints ffmpeg logs in the terminal
The amount of times the video loops in the sticker. To save processing time, leave this as 0
A number representing the WxH of the output sticker (default
512x512). Lowering this number is a great way to process longer duration stickers. The max value is
The video start time of the sticker
The author of the sticker
Applies a circular mask to the sticker. Works on images only for now.
The corner radius of the sticker when
stickerMetadata.circle is set to true.
Learn more: https://sharp.pixelplumbing.com/api-resize
Your Discord ID to get onto the sticker leaderboard!
Setting this to
true will skip the resizing/square-cropping of the sticker. It will instead 'letterbox' the image with a transparent background.
The pack of the sticker
ALPHA FEATURE - NO GUARANTEES IT WILL WORK AS EXPECTED:
Attempt to remove the background of the sticker. Only valid for paid licenses.
true - remove background after resizing
HQ - remove background before resizing (i.e on original photo)