Skip to content

tmyroadctfig/com.realityinteractive.imageio.tga

Repository files navigation

Copy of Reality Interactive's ImageIO TGA library

Building

ant build

Usage

Simply register the plugin with ImageIO:

IIORegistry registry = IIORegistry.getDefaultInstance();
registry.registerServiceProvider(new com.realityinteractive.imageio.tga.TGAImageReaderSpi());

For performance reasons, when using this spi use ImageIO methods that use File as argument not Streams

// do not use
ImageIO.read(new BufferedInputStream(new FileInputStream(path.toFile())));
// use
ImageIO.read(path.toFile());

About

A copy of com.realityinteractive.imageio.tga's ImageIO TGA code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages