read_tga

Reads a TGA image. req_chans defines the format of returned image (you can use ColFmt here).

  1. IFImage read_tga(char[] filename, long req_chans)
    read_tga
    (
    in char[] filename
    ,
    long req_chans = 0
    )
  2. IFImage read_tga(Reader stream, long req_chans)

Meta