StructsΒ§
EnumsΒ§
FunctionsΒ§
- blurhash_
an_ πimage - get_
blurhash_ πfrom_ request - Returns the blurhash or a blurhash error which implements Display.
- get_
format_ πfrom_ data_ mime_ and_ filename - Gets the Image Format value from the data,mime, and filename It first checks if the mime is a valid image format Then it checks if the filename has a format, otherwise just guess based on the binary data Assumes that mime and filename extension wonβt be for a different file format than file.
- get_
image_ πdecoder_ with_ format_ and_ data - is_
image_ πabove_ size_ limit