Gimp.PDB.get_data_size

function get_data_size(identifier: String): Number(gint) {
    // Gjs wrapper for gimp_pdb_get_data_size()
}
  

Returns size of data associated with the specified identifier.

This procedure returns the size of any data which may have been associated with the specified identifier. If no data has been associated with the identifier, an error is returned.

identifier

The identifier associated with data.

Returns

The number of bytes in the data.