Gets or sets a value specifying the output image type.
$au.imageUploaderFlash({
converters : [
{
//...other params...
thumbnailType: "image/jpeg",
//...other params...
}
]
})
Get/Set Value at Runtime
$au.imageUploaderFlash('uploaderID').converters().set(index).thumbnailType(value);
value = $au.imageUploaderFlash('uploaderID').converters().get(index).thumbnailType();
Type: String
A string specifying the output image format, one of the following values:
| Value | Description |
|---|---|
image/jpeg | Always create a JPEG thumbnail. |
image/png | Always create a PNG thumbnail. |
original | Preserves the original image format if possible. If it is not possible (e.g. the input image is BMP or GIF), it will produce JPEG. |
auto | The output format is selected based on the thumbnailSizeLimit value - if PNG is small enough to fit in this limit, it will product PNG, otherwise it will create JPEG. |
Default value is "image/jpeg".
This property makes sense only if the mode property has Thumbnail value.