Converter.ThumbnailCompressOversizedOnly Property HTML5/Flash Uploader ASP.NET

Supported technologies: HTML 5

Gets or sets a value indicating whether the uploader should ignore the thumbnail settings if the resized image turns out to be larger than the original file.

Namespace: Aurigma.ImageUploaderFlash
Assembly: Aurigma.ImageUploaderFlash (in Aurigma.ImageUploaderFlash.dll)

Syntax

C#
public bool ThumbnailCompressOversizedOnly { get; set; }

Property Value

Type: System..Boolean

If true, the ThumbnailFitMode is Thumbnail and the resized copy is larger than the original file, the uploader will ignore the resized copy and upload the source file instead.

Default value is false.

Remarks

Sometimes it may turn out that the resized copy is larger than the original file. For example, it may happen if the source image has low JPEG quality, while you set the ThumbnailJpegQuality to a large value.

If your goal is to optimize the traffic, you may prefer sending the original file instead of the resized copy (as it is not really optimized). In this case, set this property to true.

See Also

Reference