Grx.Context.prototype.save_to_jpeg_grayscale

function save_to_jpeg_grayscale(filename: String, quality: Number(gint)): Boolean {
    // Gjs 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

filename

Name of jpeg file

quality

quality scaling (1 to 100) the normal value is 75

Returns

true on success, otherwise false