Convert TGA to TGA via Java
Transform TGA as TGA using native Java library without any dependencies.
How to Convert TGA to TGA Using Java
In order to render TGA to TGA, we’ll use
API which is a feature-rich, powerful and easy to use conversion API for Java platform. You can download its latest version directly from
and install it within your Maven-based project by adding the following configurations to the pom.xml.
Repository
<repository>
<id>AsposeJavaAPI</id>
<name>Aspose Java API</name>
<url>https://repository.aspose.com/repo/</url>
</repository>
Dependency
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-imaging</artifactId>
<version>version of aspose-imaging API</version>
<classifier>jdk16</classifier>
</dependency>
Steps to Convert TGA to TGA via Java
Aspose.Imaging API makes it easy for the developers to convert TGA file to TGA in just a few lines of code.
- Load TGA file with Image.load method
- Create & set an instance of TgaOptions
- Call Image.save method
- Pass file path with TGA extension & object of TgaOptions as parameters
System Requirements
Before running the conversion example code, make sure that you have the following prerequisites.
- JDK 1.6 or higher is installed.
Convert TGA to TGA - Java
TGA to TGA Conversion Live Demos
Convert TGA to TGA right now by visiting our Live Demos website.The live demo has the following benefits
Java Imaging Library
Imaging API is an image processing solution to create, modify, draw or convert images with in applications. Aspose.Imaging is a fast API for Image processing, including but not limited to image conversions and manipulations such as drawing, working with graphic primitives, image transformations, export and conversion to multiple formats. Its a standalone library and does not depend on any software for image operations. One can easily add high performance image conversion feature with native APIs within projects. These are 100% private on premise APIs and files are processed at your own servers. TGA What is TGA File Format?
A file with .tga extension is a raster graphic format and was created by Truevision Inc. It was designed for the TARGA (Truevision Advanced Raster Adapter) boards and provided Highcolor/truecolor display support for IBM-compatible PCs. It supports 8, 16, 24 and 32 bits per pixel and 8-bit alpha channel. It also supports lossless RLE compression that can be applied to reduce the image size. Digital photos and textures use the TGA image format.
Read MoreTGA What is TGA File Format?
A file with .tga extension is a raster graphic format and was created by Truevision Inc. It was designed for the TARGA (Truevision Advanced Raster Adapter) boards and provided Highcolor/truecolor display support for IBM-compatible PCs. It supports 8, 16, 24 and 32 bits per pixel and 8-bit alpha channel. It also supports lossless RLE compression that can be applied to reduce the image size. Digital photos and textures use the TGA image format.
Read More