---
title: "jpeg_quality property"
url: "https://reference.aspose.com/diagram/python-net/aspose.diagram.saving/imagesaveoptions/jpeg_quality/"
product: "Aspose.Diagram for Python via .NET API References"
---


## jpeg_quality property


Gets or sets a value determining the quality of the generated JPEG images.
### Remarks 


Has effect only when saving to JPEG.

Use this property to get or set the quality of generated images when saving in JPEG format.
The value may vary from 0 to 100 where 0 means worst quality but maximum compression and 100 means best quality but minimum compression.

The default value is 95.

### See Also
* module [aspose.diagram.saving](../../)
* class [ImageSaveOptions](/diagram/python-net/aspose.diagram.saving/imagesaveoptions)
