Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.

converter.thumbnailResizeQuality Property HTML5/Flash Uploader JavaScript

Supported technologies:

Gets or sets a resize quality of the thumbnail (interpolation algorithm).

Syntax

JavaScript Initialize
$au.imageUploaderFlash({
    converters : [
        {
            //...other params...
            thumbnailResizeQuality: "Low",
            //...other params...
        }
    ]
})
Get/Set Value at Runtime
$au.imageUploaderFlash('uploaderID').converters().set(index).thumbnailResizeQuality(value);
value = $au.imageUploaderFlash('uploaderID').converters().get(index).thumbnailResizeQuality();

Property Value

Type: String

The resize quality of the thumbnail.

The following values are supported:

ValueDescription
LowLow quality. The image is resized using the standard Canvas functionality (supposedly, bi-linear interpolation).
MediumMedium quality. The image is resized using the Lanczos 2-pixel algorithm.
HighHigh quality. The image is resized using the Lanczos 3-pixel algorithm.

Default value is "Low".

Remarks

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).

See Also

Reference

Manual