Expand description
Collection of methods for images.
Structsยง
- 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 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_
CONTEN ๐T_ 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_
CONTEN ๐T_ TYPE The content type of WebP. - WEBP_
DEFAUL ๐T_ 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_
reader ๐Get an image reader for the given file. - Load the given file as an image into a
GdkPaintable
. - Prepare the given thumbnail to send it.