Gets or sets a value specifying the output image type.
Namespace:
Aurigma.ImageUploaderFlash
Assembly:
Aurigma.ImageUploaderFlash (in Aurigma.ImageUploaderFlash.dll)
public string ThumbnailType { get; set; }
Type: System..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.