Table of Contents

Enum FitSurfaceOptions

Namespace
PaintDotNet
Assembly
PaintDotNet.Core.dll
[Flags]
public enum FitSurfaceOptions

Fields

Default = 0

Rendering will use multiple threads to improve performance. Gamma correction will not be used.

DisableMultiThreadedOptimizations = 1

Rendering will only use a single thread.

UseGammaCorrection = 2

Rendering will use gamma correction. The source will be converted from sRGB (2.2) to linear (1.0) gamma, then resampled, and then converted back from linear (1.0) to sRGB (2.2) gamma.
This is slower, but preserves perceptual brightness, and is recommended.