John Cupitt
John Cupitt
Could you also add a line to changelog? And credit yourself, of course.
... libvips now has: ```C double vips_interpretation_max_alpha(VipsInterpretation interpretation) { switch (interpretation) { case VIPS_INTERPRETATION_GREY16: case VIPS_INTERPRETATION_RGB16: return 65535.0; case VIPS_INTERPRETATION_scRGB: return 1.0; default: return 255.0; } } ``` but it...
libvips is in a few layers: 1. At the base is GObject, the object system from glib. It's a little like Java, so single-inheritance, multiple inheritance of interfaces, introspection (a...
The gobject docs have an introduction to their object system, if you're curious: https://docs.gtk.org/gobject/index.html
Yes, it's a bit of a wart in the API. I didn't want to make a complete operation for `addalpha` (it's so trivial! why bother!), so I left it as...
I had a go and I think calling the C API for this would be tricky and likely to cause bugs in future. It's much cleaner and safer to have...
I don't know sharp well enough to make a PR, but I reworked that python code into c++, it might help someone else: ```C++ /* compile with * * g++...
Sorry, no, it just makes the code that enforces this limit simpler. The limitation is comes from quite a deep part of the rendering system and cannot be avoided easily....
Hello, libvips maintainer here, I just came across this interesting discussion. Sure, we'd love some help. I added the jxlload/save operators in the libjxl 0.4 days and they really need...
> Maybe someone of you [ping list above] could contribute some improvements to the libjxl interface on the libvips side? Just reading the code quickly and making some general suggestions...