Class LogoStorageConfig
Storage configuration for Reliance logos
Inheritance
System.Object
LogoStorageConfig
Namespace: PTIRelianceLib.Imaging
Assembly: PTIRelianceLib.dll
Syntax
public class LogoStorageConfig : object
Properties
| Improve this Doc View SourceAlgorithm
Dithering implementation to utilize for image. Default: None, no dithering performed
Declaration
public DitherAlgorithms Algorithm { get; set; }
Property Value
Type | Description |
---|---|
DitherAlgorithms | Algorithm to apply |
Default
Returns default logo storage options
Declaration
public static LogoStorageConfig Default { get; }
Property Value
Type | Description |
---|---|
LogoStorageConfig | Default configuration |
MaxPixelWidth
Gets or Sets the maximum width in pixels for images being stored. Any images with a width greater than this value will be scaled down proportionally. For best result, it is recommended that you provide images at your desired size so you have better control over scaling. Default value: 640 pixels (80mm)
Declaration
public int MaxPixelWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Maximum width in pixels of image to allow |
Threshold
Dithering threshold value determines at which magitude a pixel swithes from black to white or white to black. Default: 127 (gray)
Declaration
public byte Threshold { get; set; }
Property Value
Type | Description |
---|---|
System.Byte | Dithering cutoff value |