Class ImageFormatBase
Base class for ImageFormats such as JPEG, PNG, TIFF, ...
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Syntax
[GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
public abstract class ImageFormatBase : FormatWithFixedExtensionBase
Properties
Actions
A collection of actions to be applied during rendering.
Declaration
[JsonProperty("actions", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ICollection<ImageActionBase> Actions { get; set; }
Property Value
ICollection<ImageActionBase> |
ColorProfile
Color profile to use. Colorspace is derived from the chosen profile.
Declaration
[JsonProperty("colorProfile", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[JsonConverter(typeof(StringEnumConverter))]
public ColorProfile? ColorProfile { get; set; }
Property Value
ColorProfile? |
ColorTransformationIntent
The method of conversion for color spaces (e.g. CMYK to RGB). Further information can be found here: http://www.colourphil.co.uk/rendering_intents.shtml
Declaration
[JsonProperty("colorTransformationIntent", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
[JsonConverter(typeof(StringEnumConverter))]
public ColorTransformationIntent ColorTransformationIntent { get; set; }
Property Value
ColorTransformationIntent |
HorizontalResolution
Horizontal resolution in dpi (dots per inch)
Declaration
[JsonProperty("horizontalResolution", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public float? HorizontalResolution { get; set; }
Property Value
float? |
KeepClippingPath
Copy clipping paths from input.
Declaration
[JsonProperty("keepClippingPath", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public bool KeepClippingPath { get; set; }
Property Value
bool |
ResizeAction
Allows resizing of the image.
Declaration
[JsonProperty("resizeAction", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ResizeAction ResizeAction { get; set; }
Property Value
ResizeAction |
VerticalResolution
Vertical resolution in dpi (dots per inch)
Declaration
[JsonProperty("verticalResolution", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public float? VerticalResolution { get; set; }
Property Value
float? |
Methods
FromJson(string)
Declaration
public static ImageFormatBase FromJson(string data)
Parameters
string data |
Returns
ImageFormatBase |