Skip to main content

Module image

Module image 

Source
Expand description

Collection of methods for images.

Modulesยง

queue ๐Ÿ”’

Structsยง

Blurhash ๐Ÿ”’
A Blurhash.
Image ๐Ÿ”’
An image that was just loaded.
ImageSource ๐Ÿ”’
The source of an image.
ImageSourceInfo ๐Ÿ”’
Information about the source of an image.
TextureThumbnailer ๐Ÿ”’
A thumbnailer for a GdkTexture.
ThumbnailDownloader ๐Ÿ”’
An API to download a thumbnail for a media.
ThumbnailSettings ๐Ÿ”’
The settings for downloading a thumbnail.

Enumsยง

Frame ๐Ÿ”’
A frame of an image.
ImageDecoderSource ๐Ÿ”’
The source for decoding an image.
ImageError ๐Ÿ”’
An error encountered when loading an image.
ImageInfoLoader ๐Ÿ”’
An API to load image information.
MediaSource ๐Ÿ”’
The source of a media file.

Constantsยง

SUPPORTED_ANIMATED_IMAGE_MIME_TYPES ๐Ÿ”’
The known image MIME types that can be animated.
SVG_CONTENT_TYPE ๐Ÿ”’
The content type of SVG.
THUMBNAIL_DIMENSIONS_THRESHOLD ๐Ÿ”’
The size threshold in pixels for requesting or generating a thumbnail.
THUMBNAIL_MAX_DIMENSIONS ๐Ÿ”’
The maximum dimensions of a thumbnail in the timeline.
THUMBNAIL_MAX_FILESIZE_THRESHOLD ๐Ÿ”’
The maximum file size threshold in bytes for requesting or generating a thumbnail.
WEBP_CONTENT_TYPE ๐Ÿ”’
The content type of WebP.
WEBP_DEFAULT_QUALITY ๐Ÿ”’
The default WebP quality used for a generated thumbnail.

Traitsยง

GlycinFrameExt ๐Ÿ”’
Extensions to glycin::Frame.

Functionsยง

filesize_is_too_big ๐Ÿ”’
Whether the given filesize is considered too big to be the preferred source to download.