Gets or sets a resize quality of the thumbnail (interpolation algorithm).
public function getThumbnailResizeQuality() { } public function setThumbnailResizeQuality($value) { }
Type: string
The resize quality of the thumbnail.
The following values are supported:
Value | Description |
---|---|
Low | Low quality. The image is resized using the standard Canvas functionality (supposedly, bi-linear interpolation). |
Medium | Medium quality. The image is resized using the Lanczos 2-pixel algorithm. |
High | High quality. The image is resized using the Lanczos 3-pixel algorithm. |
Default value is "Low".
This property makes sense only if the Mode property has Thumbnail
value.
Note, using algorithms better than "Low" increases the time required by the uploader to prepare images. It works 30%-90% slower comparing to the standard resize functionality (the overall impact is less significant especially if the upload takes more time than image resizing).