AnimatedGifConfigurationEncodeTransparentBorders Property

Note: This API is now obsolete.
Gets or sets whether the transparent borders of the frames should be encoded as part of the frame.
Default value: .


Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 8.1.0
[ObsoleteAttribute("This property is obsolete. Use AllowClippedFrames instead.")]
public bool EncodeTransparentBorders { get; set; }

Property Value

If , then transparent borders of the frames will be considered as image content (and possibly smaller frames will be virtually enlarged, too). This produces a bit larger encoded size but provides better compatibility.
If , then always only the smallest possible non-transparent area will be encoded. Some decoders may not tolerate this option.

See Also