TGA.this

Creates a TGA file without a footer.

  1. this()
  2. this(Header header, IImageData _imageData, IPalette _palette, char[] imageID)
    class TGA
    public @safe
    this
    (,
    IImageData _imageData
    ,
    IPalette _palette = null
    ,
    char[] imageID = null
    )
  3. this(IImageData _imageData, IPalette _palette, char[] imageID, bool isRLE)
  4. this(Header header, Footer footer, IImageData _imageData, IPalette _palette, char[] imageID)

Parameters

header Header

The header to be used for the image. Must match the values of _imageData and such.

_imageData IImageData

The imagedata to be used for the imagefile.

_palette IPalette

Palette data if any.

imageID char[]

Image name.

Meta