Instead, use the new(er) vips8 C++ interface, and the new(er) python interface in pypi. https://pypi.org/project/pyvips