Class HybridScaleMode
Defines the modes that control speed vs. quality trade-offs for high-ratio scaling operations.
Inheritance
System.Object
HybridScaleMode
Namespace: PhotoSauce.MagicScaler
Assembly: PhotoSauce.MagicScaler.dll
Syntax
public sealed class HybridScaleMode : Enum
Fields
FavorQuality
Allow lower-quality downscaling to a size at least 3x the target size. Use high-quality scaling to reach the final size.
Declaration
public const HybridScaleMode FavorQuality
Field Value
Type | Description |
---|---|
HybridScaleMode |
FavorSpeed
Allow lower-quality downscaling to a size at least 2x the target size. Use high-quality scaling to reach the final size.
Declaration
public const HybridScaleMode FavorSpeed
Field Value
Type | Description |
---|---|
HybridScaleMode |
Off
Do not allow hybrid scaling. Use the high-quality scaler exclusively.
Declaration
public const HybridScaleMode Off
Field Value
Type | Description |
---|---|
HybridScaleMode |
Turbo
Allow lower-quality downscaling to the nearest power of 2 to the target size. Use high-quality scaling to reach the final size.
Declaration
public const HybridScaleMode Turbo
Field Value
Type | Description |
---|---|
HybridScaleMode |
value__
Declaration
public byte value__
Field Value
Type | Description |
---|---|
System.Byte |