John Cupitt
John Cupitt
Hello @Jimmy-Tsai, 8.10 is not officially released yet, I would use 8.9.2 for now. When you compile it, you need to make sure it has headers for all of the...
You could also simply use the libvips that Ubuntu include. Try: ``` apt install libvips-dev ```
Sure, sounds great. I've made a few simple colab demos, but something in pyvips/examples would be very useful.
Hi @skillcoyne, It should work. I see: ``` $ python3 Python 3.9.7 (default, Sep 10 2021, 14:59:43) [GCC 11.2.0] on linux Type "help", "copyright", "credits" or "license" for more information....
I tried on osx and it works for me. I see: ``` $ brew install vips ... $ wget https://openslide.cs.cmu.edu/download/openslide-testdata/Hamamatsu/CMU-1.ndpi ... $ vipsheader CMU-1.ndpi CMU-1.ndpi: 51200x38144 uchar, 4 bands, srgb,...
On Ubuntu, I think you've built libvips without openslide support. You'll need the `libopenslide-dev` package. Check the output of `configure`.
Hello @bageheyalu, You can read a specific page by setting `page`, and read a set of consecutive pages with `n`. The `tiffload` docs have the details: https://libvips.github.io/libvips/API/current/VipsForeignSave.html#vips-tiffload
The read-n-pages feature is really for volumetric images, like OME-TIFF. All the pages must have exactly the same size, same colour type, same format etc. If you have an image...
Sorry, I don't know. Perhaps your image has some sub-pages? libvips just counts pages in the top-level directory.
Hello, I've not updated to 10.13 yet, I'm still on 10.12 where it seems to work fine. I'll update to 10.13 and try and fix it. You shouldn't need to...