Std.Image
Types
type Format = Jpeg Int | Png | Preserve
Values
dimensions : String -> Task Error { width : Int , height : Int }
The pixel dimensions of an image, read from its header (cheap, no full
resizeToFit : Format -> Int -> Int -> String -> Task Error String
Scale an image to fit within `maxWidth` x `maxHeight`, preserving the aspect
thumbnail : Format -> Int -> String -> Task Error String
Scale an image to fit within `maxDim` x `maxDim` — a square bound for a