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.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.

pyvips.base.type_name(gtype)[source]

Return the name for a GType.

pyvips.base.nickname_find(gtype)[source]

Return the nickname for a GType.

pyvips.base.type_from_name(name)[source]

Return the GType for a name.

pyvips.base.type_map(gtype, fn)[source]

Map fn over all child types of gtype.