diff --git a/src/ImageSharp/Formats/Tga/TgaEncoder.cs b/src/ImageSharp/Formats/Tga/TgaEncoder.cs index d57f3cb33..e0a393235 100644 --- a/src/ImageSharp/Formats/Tga/TgaEncoder.cs +++ b/src/ImageSharp/Formats/Tga/TgaEncoder.cs @@ -11,14 +11,14 @@ namespace SixLabors.ImageSharp.Formats.Tga; public sealed class TgaEncoder : ImageEncoder { /// - /// Gets or sets the number of bits per pixel. + /// Gets the number of bits per pixel. /// - public TgaBitsPerPixel? BitsPerPixel { get; set; } + public TgaBitsPerPixel? BitsPerPixel { get; init; } /// - /// Gets or sets a value indicating whether no compression or run length compression should be used. + /// Gets a value indicating whether no compression or run length compression should be used. /// - public TgaCompression Compression { get; set; } = TgaCompression.RunLength; + public TgaCompression Compression { get; init; } = TgaCompression.RunLength; /// public override void Encode(Image image, Stream stream)