Grx.screen_get_plane_size

function screen_get_plane_size(width: Number(gint), height: Number(gint)): Number(gint) {
    // Gjs wrapper for grx_screen_get_plane_size()
}
  

Gets the plane size in bytes required to store an image of width x height for the screen.

width

the width in pixels

height

the height in pixels

Returns

the size in bytes.