Transform a raw tga image to an image, without modifying the underlying pixel type.
This function can output the following images:
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27
ModuleJuicyPixels-3.3.8Haskell2010
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.8 · Codec.Picture.TgaTgaSaveable PixelRGB8Defined in JuicyPixels-3.3.8 · Codec.Picture.TgaTgaSaveable PixelRGBA8Defined in JuicyPixels-3.3.8 · 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.