You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that get_gainmap() does not make a new reference, the caller "borrows" the pointer from the image. You'd probably want to add a g_object_ref() when adding a method to lua-vips. I can make a PR if that'd be helpful.
Note that get_gainmap() does not make a new reference, the caller "borrows" the pointer from the image. You'd probably want to add a g_object_ref() when adding a method to lua-vips.
This info is outdated after libvips/libvips@e56eb32? has been merged, right?
Could you please take a look at #95 to check if I got it right?
Activity
rolandlo commentedon Dec 4, 2025
Thanks for the info. That's an interesting feature. The implementation looks relatively straightforward, so I don't necessarily need help with it.
rolandlo commentedon Dec 9, 2025
This info is outdated after libvips/libvips@e56eb32? has been merged, right?
Could you please take a look at #95 to check if I got it right?
jcupitt commentedon Dec 9, 2025
Yes, we did a little swerve on the API right at the end :( sorry.
Nice, I'll have a look at the PR!
jcupitt commentedon Dec 9, 2025
I used this test for pyvips fwiw:
https://github.com/libvips/pyvips/blob/master/tests/test_image.py#L397-L418
might be relevant.