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.14.1 · lts/ghc-9.14.x · 45dd537 · 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.