Expand description
Collection of methods for images.
Modulesยง
- queue ๐
Structsยง
- An image that was just loaded.
- Dimensions of an image.
- The source of an image.
- Information about the source of an image.
- An API to download a thumbnail for a media.
- The settings for downloading a thumbnail.
Enumsยง
- Frame ๐A frame of an image.
- An error encountered when loading an image.
- An API to load image information.
- The source of a media file.
- The strategy to use when computing the new dimensions for resizing an image while maintaining its aspect ratio.
Constantsยง
- SVG_
CONTENT_ ๐TYPE The content type of SVG. - The default dimensions of a generated thumbnail.
- The default height of a generated thumbnail.
- The default width of a generated thumbnail.
- The dimension threshold in pixels before we start to generate a thumbnail.
- The maximum file size threshold in bytes for generating a thumbnail.
- WEBP_
CONTENT_ ๐TYPE The content type of WebP. - WEBP_
DEFAULT_ ๐QUALITY The default WebP quality used for a generated thumbnail.
Functionsยง
- The default value for
BaseImageInfo
. - filesize_
is_ ๐too_ big Whether the given filesize is considered too big to be the preferred source to download. - image_
loader ๐Get an image loader for the given file. - load_
image ๐Load the given file as an image into aGdkPaintable
. - Prepare the given thumbnail to send it.