lopcode / vips-ffm

libvips bindings for Java, Kotlin, and JVM projects using the Foreign Function and Memory API (FFM)
http://vipsffm.photofox.app/
Apache License 2.0
22 stars 1 forks source link

Investigate GObject API for bindings #39

Closed lopcode closed 2 months ago

lopcode commented 2 months ago

Discussion here: https://github.com/libvips/libvips/discussions/4112

There's a lower level API that might make updates/"mismatched versions" safer.

At first glance it seems like there are "operations" (and helpers that set up options for the given operation, and helpers to get output from the operation). FFM is still relevant to do this setup but might not need manual bindings for every operation?

There are other improvements to get inspiration from in the C++ bindings:

Some reading: