---
title: "BitmapViewer..::.BrowserImageFormat Property "
canonical: https://www.graphicsmill.com/docs/gmwc/P_Aurigma_GraphicsMill_AjaxControls_BitmapViewer_BrowserImageFormat.htm
archived: true
applies_to:
  - product: "Graphics Mill Web Controls"
---

**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](https://customerscanvas.com/docs/on-premises/design-atoms-cs/), [Design Atoms JS](https://customerscanvas.com/docs/on-premises/design-atoms-js/), and [Design Editor](https://customerscanvas.com/docs/on-premises/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](https://www.graphicsmill.com/docs/gmwc/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```csharp
public BrowserImageFormat BrowserImageFormat { get; set; }
```
 
### Property Value
The file format of the images which are sent to the browser.
 
## Remarks
  
Available formats are [Jpeg](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_BrowserImageFormat.htm.md) and [Png](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_BrowserImageFormat.htm.md). **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](https://www.graphicsmill.com/docs/gmwc/P_Aurigma_GraphicsMill_AjaxControls_BitmapViewer_BrowserJpegQuality.htm.md) 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](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_BitmapViewer.htm.md) is indexed or grayscale, the control sends it to a client in **Png** format, otherwise in **Jpeg**.
 
Default value is [Auto](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_BrowserImageFormat.htm.md).
   
## See Also

### Reference

- [BitmapViewer Class](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_BitmapViewer.htm.md)
- [Aurigma.GraphicsMill.AjaxControls Namespace](https://www.graphicsmill.com/docs/gmwc/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
