Results 1568 comments of John Cupitt

Hi @anirudhagarwal1, Wow, that is slow. I tried your file on my PC: ``` $ time vips copy very-slow.pdf[dpi=300] x.jpg real 0m39.694s user 0m37.869s sys 0m1.938s ``` And it's almost...

I recompiled my libvips against PDFium 5947 and I now see: ``` $ time vips copy very-slow.pdf[dpi=300] x.jpg real 0m2.216s user 0m1.324s sys 0m1.014s ``` So I think I'd look...

Wow! Very nice Kleis, I'll have a poke about.

Quick thoughts: - it seems to work well! - since this drops py2 support, we should probably do a major version bump to pyvips 3.0.0 - hahah no more py2...

> PyMuPDF uses swig rather than cffi for binding, which I'm not familiar with. I used to use SWIG -- it's a nice thing, but it's a C++ compile at...

I tried on macos and it's failing with this error: ``` /var/folders/pz/gm0pbl0d03x481qvb2dqppb40000gn/T/tmpgc1_hsm5.build-temp/_libvips.c:5713:28: error: incompatible function pointer types passing 'void *(*)(uint64_t, void *, void *)' (aka 'void *(*)(unsigned long long, void...

Oh great! Yes, that should fix it too.

Oooof I'm finally back on this, sorry for the huge delay. Shall we merge and do any more small fixes in the build-up to pyvips 3.0?

Ah let's just do it, and do any fixing up necessary in subsequent PRs as we head to pyvips 3.0. Thank you again for doing this work, Kleis!

Hi @lchunleo, Sure, eg.: ``` $ python3 Python 3.10.7 (main, Mar 10 2023, 10:47:39) [GCC 12.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pyvips...