Content Studio Web Content Management System
SystemObject
ContentStudio.Site.ControlsImageProcessingSettings
ContentStudio.Site.ControlsWebImageProcessingSettings
Assembly: ContentStudio.Site.Controls (in ContentStudio.Site.Controls.dll) Version: 5.7.5016.0 (5.7.5016.0)
Top
Top
Top
[This is preliminary documentation and is subject to change.]
This class contains default settings of the adjusted copy of the original image. The image is adjusted to be used within web documents by making the image file smaller and with limited display size.
If a maximum size is given, the images are scaled to fit within the limits, provided that the original image is larger than the maximum size. If the image format does not support resizing, the meta data is change to reflect 72 dpi resolution.
If no maximum size is given, the image resolution is read from its meta data. If the resolution is higher than 72 dpi, it will be scaled (sampled) to 72 dpi.
The Method field described which interpolation filter to use for sampling. More information is found in the section Image filters.
The Quality level is only used for compression if the image format allows it. Currently, compression is only used for JPEG images. Low quality numbers indicate high compression with low picture quality and small file size.
By adding image sharpening, blurred pictures may seem sharper by exposing pixels that are distinctively different from its surrounding.
With smart resizing, the picture orientation is investigated. If the image uses portrait orientation, the given values for maximum with and height will change place.
Inheritance Hierarchy
ContentStudio.Site.ControlsImageProcessingSettings
ContentStudio.Site.ControlsWebImageProcessingSettings
Namespace: ContentStudio.Site.Controls
Assembly: ContentStudio.Site.Controls (in ContentStudio.Site.Controls.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
The WebImageProcessingSettings type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WebImageProcessingSettings | Initializes a new instance of the WebImageProcessingSettings class |
Properties
Name | Description | |
---|---|---|
DestinationFormat |
Gets or sets the destination format of the image. Set to null to use the same format as the originally uploaded file.
(Inherited from ImageProcessingSettings.) | |
FileNameFormat |
Gets or sets the file name format wheares the {FileName} is file name of the uploaded file without the extension and the {Extension} is the extension of the uploaded file.
(Inherited from ImageProcessingSettings.) | |
ImageFilter |
Image filters are used to interpolate new pixel values when the size of an image changes. The purpose is to maintain the image quality as good as possible. All image filters work in similar ways, but they differ in the priorities and weight of the surrounding pixels.
There is no filter that is optimal for all scenarios. Therefore, it may be necessary to test different filter to fins the one that is best suited for each category.
(Inherited from ImageProcessingSettings.) | |
IsDefaultFileNameFormat |
Gets a value indicating whether this instance is default file name format.
(Inherited from ImageProcessingSettings.) | |
MaxHeight |
If a maximum size is given (value greater then zero), the images are scaled to fit within the limits, provided that the original image is larger than the maximum size.
If the image format does not support resizing, the meta data is change to reflect 72 dpi resolution.
If no maximum size is given, the image resolution is read from its meta data. If the resolution is higher than 72 dpi, it will be scaled (sampled) to 72 dpi.
(Inherited from ImageProcessingSettings.) | |
MaxWidth |
If a maximum size is given (value greater then zero), the images are scaled to fit within the limits, provided that the original image is larger than the maximum size.
If the image format does not support resizing, the meta data is change to reflect 72 dpi resolution.
If no maximum size is given, the image resolution is read from its meta data. If the resolution is higher than 72 dpi, it will be scaled (sampled) to 72 dpi.
(Inherited from ImageProcessingSettings.) | |
Quality |
The Quality level is only used for compression if the image format allows it. Currently, compression is only used for JPEG images. Low quality numbers indicate high compression with low picture quality and small file size.
(Inherited from ImageProcessingSettings.) | |
UseSmartResizing |
With smart resizing, the picture orientation is investigated. If the image uses portrait orientation, the given values for maximum with and height will change place.
(Inherited from ImageProcessingSettings.) | |
ViewState |
Gets the state of the view.
(Inherited from ImageProcessingSettings.) |
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetFilePath |
Gets the file path.
(Inherited from ImageProcessingSettings.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
See Also