├── LICENSE ├── README.md ├── images ├── grayscale_LL.tga ├── grayscale_LR.tga ├── grayscale_UL.tga ├── grayscale_UR.tga ├── grayscale_a_LL.tga ├── grayscale_a_LR.tga ├── grayscale_a_UL.tga ├── grayscale_a_UR.tga ├── grayscale_a_rle_LL.tga ├── grayscale_a_rle_LR.tga ├── grayscale_a_rle_UL.tga ├── grayscale_a_rle_UR.tga ├── grayscale_rle_LL.tga ├── grayscale_rle_LR.tga ├── grayscale_rle_UL.tga ├── grayscale_rle_UR.tga ├── indexed_LL.tga ├── indexed_LR.tga ├── indexed_UL.tga ├── indexed_UR.tga ├── indexed_a_LL.tga ├── indexed_a_LR.tga ├── indexed_a_UL.tga ├── indexed_a_UR.tga ├── indexed_a_rle_LL.tga ├── indexed_a_rle_LR.tga ├── indexed_a_rle_UL.tga ├── indexed_a_rle_UR.tga ├── indexed_rle_LL.tga ├── indexed_rle_LR.tga ├── indexed_rle_UL.tga ├── indexed_rle_UR.tga ├── rgb_LL.tga ├── rgb_LR.tga ├── rgb_UL.tga ├── rgb_UR.tga ├── rgb_a_LL.tga ├── rgb_a_LR.tga ├── rgb_a_UL.tga ├── rgb_a_UR.tga ├── rgb_a_rle_LL.tga ├── rgb_a_rle_LR.tga ├── rgb_a_rle_UL.tga ├── rgb_a_rle_UR.tga ├── rgb_rle_LL.tga ├── rgb_rle_LR.tga ├── rgb_rle_UL.tga └── rgb_rle_UR.tga ├── samples ├── TGABitmapViewer_Android │ ├── TGABitmapViewerActivity.java │ └── TGABitmapViewer_Android.png ├── TGAConverter_Android │ └── MainActivity.java ├── TGAConverter_BufferedImage │ └── TGAConverter_BufferedImage.java ├── TGAGLViewer_Android │ ├── TGAGLSurfaceView.java │ ├── TGAGLViewerActivity.java │ └── TGAGLViewer_Android.png ├── TGAGLViewer_iOS │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Shader.fsh │ ├── Shader.vsh │ ├── TGAGLViewer_iOS.png │ ├── ViewController.h │ ├── ViewController.m │ └── main.m ├── TGAImageViewer_iOS │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Main_iPhone.storyboard │ ├── TGACollectionViewController.h │ ├── TGACollectionViewController.m │ ├── TGAImageViewer_iOS.png │ ├── ViewController.h │ ├── ViewController.m │ └── main.m ├── TGASwingBufferedImage │ ├── TGASwingBufferedImage.java │ └── TGASwingBufferedImage.png ├── TGAWebGLViewer_GWT │ ├── TGAWebGLViewer_GWT.png │ └── TexturedCube.java └── TGAWebViewer_GWT │ ├── ImageCanvasTest.java │ └── TGAWebViewer_GWT.png └── src ├── c ├── tga_reader.c └── tga_reader.h └── java ├── TGAReader.java └── TGAWriter.java /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/README.md -------------------------------------------------------------------------------- /images/grayscale_LL.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/grayscale_LL.tga -------------------------------------------------------------------------------- /images/grayscale_LR.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/grayscale_LR.tga -------------------------------------------------------------------------------- /images/grayscale_UL.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/grayscale_UL.tga -------------------------------------------------------------------------------- /images/grayscale_UR.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/grayscale_UR.tga -------------------------------------------------------------------------------- /images/grayscale_a_LL.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/grayscale_a_LL.tga -------------------------------------------------------------------------------- /images/grayscale_a_LR.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/grayscale_a_LR.tga -------------------------------------------------------------------------------- /images/grayscale_a_UL.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/grayscale_a_UL.tga -------------------------------------------------------------------------------- /images/grayscale_a_UR.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/grayscale_a_UR.tga -------------------------------------------------------------------------------- /images/grayscale_a_rle_LL.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/grayscale_a_rle_LL.tga -------------------------------------------------------------------------------- /images/grayscale_a_rle_LR.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/grayscale_a_rle_LR.tga -------------------------------------------------------------------------------- /images/grayscale_a_rle_UL.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/grayscale_a_rle_UL.tga -------------------------------------------------------------------------------- /images/grayscale_a_rle_UR.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/grayscale_a_rle_UR.tga -------------------------------------------------------------------------------- /images/grayscale_rle_LL.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/grayscale_rle_LL.tga -------------------------------------------------------------------------------- /images/grayscale_rle_LR.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/grayscale_rle_LR.tga -------------------------------------------------------------------------------- /images/grayscale_rle_UL.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/grayscale_rle_UL.tga -------------------------------------------------------------------------------- /images/grayscale_rle_UR.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/grayscale_rle_UR.tga -------------------------------------------------------------------------------- /images/indexed_LL.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/indexed_LL.tga -------------------------------------------------------------------------------- /images/indexed_LR.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/indexed_LR.tga -------------------------------------------------------------------------------- /images/indexed_UL.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/indexed_UL.tga -------------------------------------------------------------------------------- /images/indexed_UR.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/indexed_UR.tga -------------------------------------------------------------------------------- /images/indexed_a_LL.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/indexed_a_LL.tga -------------------------------------------------------------------------------- /images/indexed_a_LR.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/indexed_a_LR.tga -------------------------------------------------------------------------------- /images/indexed_a_UL.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/indexed_a_UL.tga -------------------------------------------------------------------------------- /images/indexed_a_UR.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/indexed_a_UR.tga -------------------------------------------------------------------------------- /images/indexed_a_rle_LL.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/indexed_a_rle_LL.tga -------------------------------------------------------------------------------- /images/indexed_a_rle_LR.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/indexed_a_rle_LR.tga -------------------------------------------------------------------------------- /images/indexed_a_rle_UL.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/indexed_a_rle_UL.tga -------------------------------------------------------------------------------- /images/indexed_a_rle_UR.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/indexed_a_rle_UR.tga -------------------------------------------------------------------------------- /images/indexed_rle_LL.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/indexed_rle_LL.tga -------------------------------------------------------------------------------- /images/indexed_rle_LR.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/indexed_rle_LR.tga -------------------------------------------------------------------------------- /images/indexed_rle_UL.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/indexed_rle_UL.tga -------------------------------------------------------------------------------- /images/indexed_rle_UR.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/indexed_rle_UR.tga -------------------------------------------------------------------------------- /images/rgb_LL.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/rgb_LL.tga -------------------------------------------------------------------------------- /images/rgb_LR.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/rgb_LR.tga -------------------------------------------------------------------------------- /images/rgb_UL.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/rgb_UL.tga -------------------------------------------------------------------------------- /images/rgb_UR.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/rgb_UR.tga -------------------------------------------------------------------------------- /images/rgb_a_LL.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/rgb_a_LL.tga -------------------------------------------------------------------------------- /images/rgb_a_LR.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/rgb_a_LR.tga -------------------------------------------------------------------------------- /images/rgb_a_UL.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/rgb_a_UL.tga -------------------------------------------------------------------------------- /images/rgb_a_UR.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/rgb_a_UR.tga -------------------------------------------------------------------------------- /images/rgb_a_rle_LL.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/rgb_a_rle_LL.tga -------------------------------------------------------------------------------- /images/rgb_a_rle_LR.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/rgb_a_rle_LR.tga -------------------------------------------------------------------------------- /images/rgb_a_rle_UL.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/rgb_a_rle_UL.tga -------------------------------------------------------------------------------- /images/rgb_a_rle_UR.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/rgb_a_rle_UR.tga -------------------------------------------------------------------------------- /images/rgb_rle_LL.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/rgb_rle_LL.tga -------------------------------------------------------------------------------- /images/rgb_rle_LR.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/rgb_rle_LR.tga -------------------------------------------------------------------------------- /images/rgb_rle_UL.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/rgb_rle_UL.tga -------------------------------------------------------------------------------- /images/rgb_rle_UR.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/images/rgb_rle_UR.tga -------------------------------------------------------------------------------- /samples/TGABitmapViewer_Android/TGABitmapViewerActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGABitmapViewer_Android/TGABitmapViewerActivity.java -------------------------------------------------------------------------------- /samples/TGABitmapViewer_Android/TGABitmapViewer_Android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGABitmapViewer_Android/TGABitmapViewer_Android.png -------------------------------------------------------------------------------- /samples/TGAConverter_Android/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAConverter_Android/MainActivity.java -------------------------------------------------------------------------------- /samples/TGAConverter_BufferedImage/TGAConverter_BufferedImage.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAConverter_BufferedImage/TGAConverter_BufferedImage.java -------------------------------------------------------------------------------- /samples/TGAGLViewer_Android/TGAGLSurfaceView.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAGLViewer_Android/TGAGLSurfaceView.java -------------------------------------------------------------------------------- /samples/TGAGLViewer_Android/TGAGLViewerActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAGLViewer_Android/TGAGLViewerActivity.java -------------------------------------------------------------------------------- /samples/TGAGLViewer_Android/TGAGLViewer_Android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAGLViewer_Android/TGAGLViewer_Android.png -------------------------------------------------------------------------------- /samples/TGAGLViewer_iOS/AppDelegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAGLViewer_iOS/AppDelegate.h -------------------------------------------------------------------------------- /samples/TGAGLViewer_iOS/AppDelegate.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAGLViewer_iOS/AppDelegate.m -------------------------------------------------------------------------------- /samples/TGAGLViewer_iOS/Shader.fsh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAGLViewer_iOS/Shader.fsh -------------------------------------------------------------------------------- /samples/TGAGLViewer_iOS/Shader.vsh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAGLViewer_iOS/Shader.vsh -------------------------------------------------------------------------------- /samples/TGAGLViewer_iOS/TGAGLViewer_iOS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAGLViewer_iOS/TGAGLViewer_iOS.png -------------------------------------------------------------------------------- /samples/TGAGLViewer_iOS/ViewController.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAGLViewer_iOS/ViewController.h -------------------------------------------------------------------------------- /samples/TGAGLViewer_iOS/ViewController.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAGLViewer_iOS/ViewController.m -------------------------------------------------------------------------------- /samples/TGAGLViewer_iOS/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAGLViewer_iOS/main.m -------------------------------------------------------------------------------- /samples/TGAImageViewer_iOS/AppDelegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAImageViewer_iOS/AppDelegate.h -------------------------------------------------------------------------------- /samples/TGAImageViewer_iOS/AppDelegate.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAImageViewer_iOS/AppDelegate.m -------------------------------------------------------------------------------- /samples/TGAImageViewer_iOS/Main_iPhone.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAImageViewer_iOS/Main_iPhone.storyboard -------------------------------------------------------------------------------- /samples/TGAImageViewer_iOS/TGACollectionViewController.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAImageViewer_iOS/TGACollectionViewController.h -------------------------------------------------------------------------------- /samples/TGAImageViewer_iOS/TGACollectionViewController.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAImageViewer_iOS/TGACollectionViewController.m -------------------------------------------------------------------------------- /samples/TGAImageViewer_iOS/TGAImageViewer_iOS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAImageViewer_iOS/TGAImageViewer_iOS.png -------------------------------------------------------------------------------- /samples/TGAImageViewer_iOS/ViewController.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAImageViewer_iOS/ViewController.h -------------------------------------------------------------------------------- /samples/TGAImageViewer_iOS/ViewController.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAImageViewer_iOS/ViewController.m -------------------------------------------------------------------------------- /samples/TGAImageViewer_iOS/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAImageViewer_iOS/main.m -------------------------------------------------------------------------------- /samples/TGASwingBufferedImage/TGASwingBufferedImage.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGASwingBufferedImage/TGASwingBufferedImage.java -------------------------------------------------------------------------------- /samples/TGASwingBufferedImage/TGASwingBufferedImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGASwingBufferedImage/TGASwingBufferedImage.png -------------------------------------------------------------------------------- /samples/TGAWebGLViewer_GWT/TGAWebGLViewer_GWT.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAWebGLViewer_GWT/TGAWebGLViewer_GWT.png -------------------------------------------------------------------------------- /samples/TGAWebGLViewer_GWT/TexturedCube.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAWebGLViewer_GWT/TexturedCube.java -------------------------------------------------------------------------------- /samples/TGAWebViewer_GWT/ImageCanvasTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAWebViewer_GWT/ImageCanvasTest.java -------------------------------------------------------------------------------- /samples/TGAWebViewer_GWT/TGAWebViewer_GWT.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/samples/TGAWebViewer_GWT/TGAWebViewer_GWT.png -------------------------------------------------------------------------------- /src/c/tga_reader.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/src/c/tga_reader.c -------------------------------------------------------------------------------- /src/c/tga_reader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/src/c/tga_reader.h -------------------------------------------------------------------------------- /src/java/TGAReader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/src/java/TGAReader.java -------------------------------------------------------------------------------- /src/java/TGAWriter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/npedotnet/TGAReader/HEAD/src/java/TGAWriter.java --------------------------------------------------------------------------------