Crate imagesize [] [src]

Structs

Dimensions

Holds the size information of an image.

Enums

ImageError

An Error type used in failure cases.

Functions

get_dimensions

Get the image dimensions from a local file.

get_dimensions_from_blob

Get the image dimensions from a block of data.

get_dimensions_from_blob_safe

Get the image dimensions from a block of data with extra checks to ensure it's a valid image.

get_dimensions_safe

Get the image dimensions from a local file with extra checks to ensure it's a valid image.

Type Definitions

ImageResult