t Image Blob
Transforms a blob to an image blob, validating its mime type.
Return
the transformed Blob if it is an image.
Parameters
blob
the object to transform, can be a Blob or a dictionary.
Throws
if the blob is not an image.
Transforms a blob to an image blob, validating its mime type.
the transformed Blob if it is an image.
the object to transform, can be a Blob or a dictionary.
if the blob is not an image.