Results 1568 comments of John Cupitt

You can do: ```python image.write_to_file("x.tif", xres=1000, yres=1000) ``` And it'll set the res to that many pixels per millimetre. You can also set the xres/yres metadata items and it'll use...

Ah I didn't realize you were working with slide images. Yes, libvips openslideload does not read the openslide resolution fields, perhaps it should. You can handle it yourself in the...

Sure, run `tiffinfo` on a tiff file to see a dump of all the metadata. If you write a file with `properties=True`, libvips will add a lot of XML to...

Hi @Toby132, libvips works in pixels rather than resolution, and pyramid layers are in order from largest (most pixels) to smallest (fewest pixels). You can test this at the command...

Image pyramids always have the level with the highest number of pixels first. Perhaps this is an issue with your image viewer? What are you using to view these things?

I'm sorry you're having problems @Aiosa, but could you open a new issue, please? It's best to have one issue per question, or it becomes very hard for other people...

@Toby132, sorry, I still don't really understand your problem. If you set `level`, you will not get all the pixels. I would just remove that, eg.: ``` import pyvips image...

Hi @hmaarrfk, From memory, `pkg-config` is needed when `setup.py` runs (to pick API or ABI mode for cffi), and again a second time during the install itself, though only if...

I get very confused by the names of the python packaging and install phases. There's dist, sdist, wheel, setuptools, distutils, wheels can include platform-specific components but still be source based,...

libvips 8.9 has a feature which might allow this: https://libvips.github.io/libvips/2019/11/29/True-streaming-for-libvips.html You'd need to write a small adapter class to do read and seek on large S3 buckets.