Base definitions¶
Basic utility stuff.
- pyvips.base.leak_set(leak)[source]¶
Enable or disable libvips leak checking.
With this enabled, libvips will check for object and area leaks on exit. Enabling this option will make libvips run slightly more slowly.
- pyvips.base.version(flag)[source]¶
Get the major, minor or micro version number of the libvips library.
- Parameters
flag (int) – Pass flag 0 to get the major version number, flag 1 to get minor, flag 2 to get micro.
- Returns
The version number,
- Raises
.Error –
- pyvips.base.type_find(basename, nickname)[source]¶
Get the GType for a name.
Looks up the GType for a nickname. Types below basename in the type hierarchy are searched.