Grx.Frame.mode_get_context_size
function mode_get_context_size(mode: Grx.FrameMode, width: Number(gint), height: Number(gint)): Number(gint) {
// Gjs wrapper for grx_frame_mode_get_context_size()
}
Gets the total size in bytes required to store an image of width x height for this frame mode.
- mode
- width
the width in pixels
- height
the height in pixels
- Returns
the size in bytes.