TgaOptions Class

Summary: The TGA file format create options.

Module: aspose.imaging.imageoptions

Full Name: aspose.imaging.imageoptions.TgaOptions

Inheritance: IHasXmpData, IHasMetadata, ImageOptionsBase

Aspose.Imaging Version: 24.6.0

Constructors

NameDescription
TgaOptions()Initializes a new instance of the TgaOptions class.
TgaOptions(tga_options)Initializes a new instance of the TgaOptions class.

Properties

NameTypeAccessDescription
buffer_size_hintintr/wGets or sets the buffer size hint which is defined max allowed size for all internal buffers.
disposedboolrGets a value indicating whether this instance is disposed.
full_frameboolr/wGets or sets a value indicating whether [full frame].
keep_metadataboolr/wGets a value whether to keep original image metadata on export.
multi_page_optionsMultiPageOptionsr/wThe multipage options
paletteIColorPaletter/wGets or sets the color palette.
resolution_settingsResolutionSettingr/wGets or sets the resolution settings.
sourceSourcer/wGets or sets the source to create image in.
vector_rasterization_optionsVectorRasterizationOptionsr/wGets or sets the vector rasterization options.
xmp_dataXmpPacketWrapperr/wGets or sets the XMP metadata container.

Methods

NameDescription
clone()Clones this instance.

Constructor: TgaOptions()

 TgaOptions() 

Initializes a new instance of the TgaOptions class.

Constructor: TgaOptions(tga_options)

 TgaOptions(tga_options) 

Initializes a new instance of the TgaOptions class.

Parameters:

ParameterTypeDescription
tga_optionsTgaOptionsThe TGA options.

Method: clone()

 clone() 

Clones this instance.

Returns

TypeDescription
ImageOptionsBaseReturns shallow copy of this instance