Results 1568 comments of John Cupitt

Here's a version of your program that runs for me. I changed the tile size and the number of tiles (to make it run reasonably quickly): ```python #!/usr/bin/python3 import os...

I think 35,000 x 35,000 pixel tiles will just not work. A single tile would be many GB. I would use 256x256 tiles and ignore the smaller levels. I'm on...

Perhaps these huge tiles are making your PC run low on memory? Swapping might explain your very low CPU use and slow execution in parallel mode. How much RAM do...

I ran this version on my huge PC (git master libvips, ubuntu, 128gb ram, 32 threads, 16 cores, nvme3): ```python #!/usr/bin/python3 import os import shutil import pyvips import time from...

I tried a few things, but couldn't get memuse down significantly for this case. It would need more work. However, I think your question is answered -- I suspect you...

Your PC is running out of RAM, so it's starting to use the page file. It's spending most of it's time moving pages of memory back and forth (and waiting...

Hi, libvips has a thing to do this, try: ```shell $ vips arrayjoin "$(echo *.jpeg)" mypyramid.tif[tile,pyramid,compression=jpeg] --across 217 ``` It should be quick. You'll probably get the tiles in the...

Here's a longer answer I wrote: https://github.com/openseadragon/openseadragon/issues/1363#issuecomment-373331572 That uses sort to get the tiles in the right order: ```shell $ vips arrayjoin "$(ls *.jpeg | sort -t_ -k2g -k1g)" mypyramid.tif[tile,pyramid,compression=jpeg]...

Hello @bsdis, You can crop before arrayjoin. In Python, something like: ```python images = [pyvips.Image.new_from_file(filename, access="sequential") for filename in sys.argv[2:]] cropped = [image.crop(10, 10, 1800, 1100) for image in images]...

I guess these are camera images, is that right? Is this with a travelling stage? I would correct vignetting -- take shot of a white background with the camera slightly...