Content Studio Web Content Management System
SystemObject
ContentStudio.Site.ControlsImageProcessingSettings
ContentStudio.Site.ControlsThumbnailImageProcessingSettings
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.]
Generating thumbnails use the same logic as when generating images adjusted for the web. The exception is that the size must be selected. The image will hence be rescaled for the given size. The dpi meta data will be set but it will not be rescaled according to the new dpi settings.
Inheritance Hierarchy
ContentStudio.Site.ControlsImageProcessingSettings
ContentStudio.Site.ControlsThumbnailImageProcessingSettings
Namespace: ContentStudio.Site.Controls
Assembly: ContentStudio.Site.Controls (in ContentStudio.Site.Controls.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
The ThumbnailImageProcessingSettings type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ThumbnailImageProcessingSettings | Initializes a new instance of the ThumbnailImageProcessingSettings 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.
(Overrides ImageProcessingSettingsFileNameFormat.) | |
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.
(Overrides ImageProcessingSettingsMaxHeight.) | |
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.
(Overrides ImageProcessingSettingsMaxWidth.) | |
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