HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

ModuleJuicyPixels-3.3.8Haskell2010

Codec.Picture.Saving

Helper functions to save dynamic images to other file format with automatic color space/sample format conversion done automatically.

  • 7 values
  • PackageJuicyPixels-3.3.8
  • Exports7
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceSaving.hs

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 Save Y or YCbCr Jpeg only, all other colorspaces are converted. To save a RGB or CMYK JPEG file, use the Codec.Picture.Jpg.Internal.encodeDirectJpegAtQualityWithMetadata function

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

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

This function will try to do anything to encode an image as a Tiff, make all color conversion and such. Equivalent of decodeImage for Tiff encoding

This function will try to do anything to encode an image as RADIANCE, make all color conversion and such. Equivalent of decodeImage for radiance encoding

This function will try to do anything to encode an image as a tga, make all color conversion and quantization. Equivalent of decodeImage for tga encoding