Grx.query_jpeg_data

function query_jpeg_data(data: ByteArray): [ok: Boolean, width: Number(gint), height: Number(gint)] {
    // Gjs wrapper for grx_query_jpeg_data()
}
  

Query width and height data from a JPEG file

data

The image data

ok

true on success, otherwise false

width

return image width

height

return image height