Results 1568 comments of John Cupitt

Also, setting `access="sequential"` on `new_from_file()` can help lower memory use if all you're doing is converting to numpy.

Hello, libvips 8.17 has switched to gi-docgen for doc formatting. Sample output: https://www.libvips.org/API/8.17/ We get a working search function too (omg). It's all markdown (no html), with extra a little...

We're aiming for 8.17 in the next few weeks, fwiw.

I would just build the head of master -- we have supported releases in stable branches.

Haha that looks great! Nice job!

Hi @raphaelbourgade, What's `native_image`? Try just: ``` python Python 3.11.2 (main, May 30 2023, 17:45:26) [GCC 12.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import...

Then I guess you are somehow picking up an old pyvips version at runtime. I see: ``` >>> import pyvips >>> pyvips.__version__ '2.2.1' >>> ```

Yes, I understand, but could you be picking up the wrong version at runtime? The `numpy()` method was added in version 2.2, so perhaps due to some path mixup you...

I see: ``` $ python Python 3.11.2 (main, May 30 2023, 17:45:26) [GCC 12.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pyvips >>> pyvips.__version__...

Hi Ruven, Sorry, I don't think this is going to work. You can't use `res == 0` to mean no resolution information is available. It'll cause divide by zero errors...