Grx.Context.save_to_jpeg
@accepts(Grx.Context, filename, int) @returns(bool) def save_to_jpeg(self, filename, quality): # Python wrapper for grx_context_save_to_jpeg()
Dump a context in a 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