TgaOptions class

The TGA file format create options.

public class TgaOptions : ImageOptionsBase


Name Description
TgaOptions() Initializes a new instance of the TgaOptions class.
TgaOptions(TgaOptions) Initializes a new instance of the TgaOptions class.


Name Description
BufferSizeHint { get; set; } Gets or sets the buffer size hint which is defined max allowed size for all internal buffers.
Disposed { get; } Gets a value indicating whether this instance is disposed.
FullFrame { get; set; } Gets or sets a value indicating whether [full frame].
MultiPageOptions { get; set; } The multipage options
virtual Palette { get; set; } Gets or sets the color palette.
ProgressEventHandler { get; set; } Gets or sets the progress event handler.
virtual ResolutionSettings { get; set; } Gets or sets the resolution settings.
Source { get; set; } Gets or sets the source to create image in.
VectorRasterizationOptions { get; set; } Gets or sets the vector rasterization options.
virtual XmpData { get; set; } Gets or sets the XMP metadata container.


Name Description
virtual Clone() Clones this instance.
Dispose() Disposes the current instance.


Saving of the JPG image as a TGA image.


using (RasterImage image = (JpegImage)Image.Load("test.jpg"))
    image.Save("test.tga"", new TgaOptions());

See Also