Transform a raw tga image to an image, without modifying the underlying pixel type.
This function can output the following images:
:: a typeCtrl KGHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11
ModuleJuicyPixels-3.3.9Haskell2010
Module implementing function to read and write Targa (*.tga) files.
Transform a raw tga image to an image, without modifying the underlying pixel type.
This function can output the following images:
Equivalent to decodeTga but also provide metadata
Equivalent to decodeTga but with metdata and palette if any
This typeclass determine if a pixel can be saved in the TGA format.
TgaSaveable Pixel8Defined in JuicyPixels-3.3.9 · Codec.Picture.TgaTgaSaveable PixelRGB8Defined in JuicyPixels-3.3.9 · Codec.Picture.TgaTgaSaveable PixelRGBA8Defined in JuicyPixels-3.3.9 · Codec.Picture.TgaTransform a compatible image to a raw bytestring representing a Targa file.
Helper function to directly write an image a tga on disk.