TgaOptions

Inheritance: java.lang.Object, com.aspose.imaging.DisposableObject, com.aspose.imaging.ImageOptionsBase

public class TgaOptions extends ImageOptionsBase

The TGA file format create options.

Constructors

ConstructorDescription
TgaOptions()Initializes a new instance of the TgaOptions class.
TgaOptions(TgaOptions tgaOptions)Initializes a new instance of the TgaOptions class.

Example: Saving of the JPG image as a TGA image.

try (Image image = Image.load("test.jpg"))
{
    image.save("test.tga", new TgaOptions());
}

TgaOptions()

public TgaOptions()

Initializes a new instance of the TgaOptions class.

TgaOptions(TgaOptions tgaOptions)

public TgaOptions(TgaOptions tgaOptions)

Initializes a new instance of the TgaOptions class.

Parameters:

ParameterTypeDescription
tgaOptionsTgaOptionsThe TGA options.