Safe Haskell | Safe-Infered |
---|
- imageToJpg :: Int -> DynamicImage -> ByteString
- imageToPng :: DynamicImage -> ByteString
- imageToBitmap :: DynamicImage -> ByteString
Documentation
imageToJpg :: Int -> DynamicImage -> ByteStringSource
This function will try to do anything to encode an image
as JPEG, make all color conversion and such. Equivalent
of decodeImage
for jpeg encoding
imageToPng :: DynamicImage -> ByteStringSource
This function will try to do anything to encode an image
as PNG, make all color conversion and such. Equivalent
of decodeImage
for PNG encoding
imageToBitmap :: DynamicImage -> ByteStringSource
This function will try to do anything to encode an image
as bitmap, make all color conversion and such. Equivalent
of decodeImage
for Bitmap encoding