Results 1568 comments of John Cupitt

Sorry, no idea. Please make a complete, runnable example I can test.

Hello @agberman, I would guess you are keeping references to images in some list somewhere and this is preventing them from being freed, but of course I can't tell for...

Oh well done! I'll have a look, thanks.

I tried a very quick pyvips-only version: ```python #!/usr/bin/python3 import sys import pyvips import random import PIL.Image as Image import numpy as np import os import psutil process = psutil.Process(os.getpid())...

I tried a version with `fetch`, but it doesn't help speed with these large random tiles.

nip2 just asks for a crosshair, the icon is provided by the theme. The options would be to get rid of the crosshair (it's not very useful) or to use...

Hello @acycliq, You need to install the libvips binary as well. Try: https://colab.research.google.com/drive/1W5RIdk-F6YOynOx-LNJFWSCzLyxFY8F5 You get rather an old libvips (8.4.5), so you might need to build your own binary if...

Hello @vankhoa21991, could you explain what MPP is?

Ah OK -- you can get xres and yres, which are in pixels / mm.

Oh, or do you want to write a TIFF file with a specific resolution?