jcupitt / gir_ffi-vips

Ruby binding for the vips8 API based on gir_ffi
MIT License
0 stars 0 forks source link

ruby-vips8

Ruby binding for the vips8 API made with gir_ffi.

This binding works well but currently has some problems with unreferencing, so you'll see small memory leaks, up to about 20 bytes per operation call. If you want something that does not leak, you need ruby-vips8.

To try it out

Make sure you have vips-7.42 or later installed and that Vips-8.0.typelib is on your GI_TYPELIB_PATH. Then install with:

$ rake install

And take a look in examples/.

What's wrong with ruby-vips?

There's an existing Ruby binding for vips here. It was written by a Ruby expert, it works well, it includes a test-suite, and has pretty full documentation. Why do another?

ruby-vips is based on the old vips7 API. There's now vips8, which adds several very useful new features:

There are some more minor pluses as well:

This binding adds some extra useful features over the old ruby-vips binding.