Grx.Context.save_to_jpeg_grayscale
@accepts(Grx.Context, filename, int)
@returns(bool)
def save_to_jpeg_grayscale(self, filename, quality):
# Python wrapper for grx_context_save_to_jpeg_grayscale()
Dump a context in a Gray JPEG file
This routine works both in RGB and palette modes
- self
Context to be saved or None to use the global context
- filename
Name of jpeg file
- quality
quality scaling (1 to 100) the normal value is 75
- Returns