Packages

 

com.aspose.imaging.imageoptions

Class TgaOptions

  • All Implemented Interfaces:
    com.aspose.ms.System.IDisposable, Closeable, AutoCloseable


    public class TgaOptions
    extends ImageOptionsBase

    The TGA file format create options.

    Code example:

    Saving of the JPG image as a TGA image.


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

    • Constructor Detail

      • TgaOptions

        public TgaOptions()

        Initializes a new instance of the TgaOptions class.

      • TgaOptions

        public TgaOptions(TgaOptions tgaOptions)

        Initializes a new instance of the TgaOptions class.

        Parameters:
        tgaOptions - The TGA options.