You’re viewing documentation for an outdated product. Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see Design Atoms .NET, Design Atoms JS, and Design Editor.

BitmapViewer.BrowserImageFormat Property

Applies to: Graphics Mill Web Controls · Archived documentation

Gets/sets the file format of the images which are sent to the browser.

Namespace: Aurigma.GraphicsMill.AjaxControls
Assembly: Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)

Syntax

C#
public BrowserImageFormat BrowserImageFormat { get; set; }

Property Value

The file format of the images which are sent to the browser.

Remarks

Available formats are Jpeg and Png. Png is an image format that employs lossless data compression and supports palette-based, grayscale and RGB images. Jpeg is a lossy image format which compression quality can be specified by BrowserJpegQuality property. If less compression is specified, an image file will have less size. Additionaly BrowserImageFormat property can be set to Auto and the control automatically determines the best image format in the following way. If the image loaded in the BitmapViewer is indexed or grayscale, the control sends it to a client in Png format, otherwise in Jpeg.

Default value is Auto.

See Also

Reference