TgaOptions
Inheritance: java.lang.Object, com.aspose.imaging.DisposableObject, com.aspose.imaging.ImageOptionsBase
public class TgaOptions extends ImageOptionsBase
Die Erstellungsoptionen für das TGA-Dateiformat.
Konstruktoren
| Konstruktor | Beschreibung |
|---|---|
| TgaOptions() | Initialisiert eine neue Instanz der TgaOptions Klasse. |
| TgaOptions(TgaOptions tgaOptions) | Initialisiert eine neue Instanz der TgaOptions Klasse. |
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()
Initialisiert eine neue Instanz der TgaOptions Klasse.
TgaOptions(TgaOptions tgaOptions)
public TgaOptions(TgaOptions tgaOptions)
Initialisiert eine neue Instanz der TgaOptions Klasse.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| tgaOptions | TgaOptions | Die TGA-Optionen. |