Results 1568 comments of John Cupitt

`im_insert` calls the base vips7 function directly. `insert` is a wrapper for `im_insert` defined in `_stdenv.def` which is suppoed to make it nicer to use. It puts the arguments in...

Hi again, 8.2 is in beta now and has a new operator which could help you: http://www.vips.ecs.soton.ac.uk/supported/8.2/doc/html/libvips/libvips-conversion.html#vips-arrayjoin It'll join an array of images up in a rectangular grid. I've been...

Hi Joe, do you have a sample input image I could test with? Are these PSBs? I tried with a 2400 x 2400 grey16 TIFF and it seemed to work...

I see the problem here too -- it looks like a bug in imagemagick with 16-bit tiled TIFF images. If I change this line: ``` im = pyvips.Image.magickload(pathIn) ``` To...

I would change the middle bit to this, fwiw: ```python im = pyvips.Image.new_from_file(pathIn, access="sequential") print("Bands: {}".format(im.bands)) print("Coding: {}".format(im.coding)) print("Format: {}".format(im.format)) print("Type: {}".format(im.interpretation)) print("Width: {}".format(im.width)) print("Height: {}".format(im.height)) im.write_to_file(pathOut, tile=True, pyramid=True) ```...

Hello @EKami, The `level=` argument will pull out specific levels from the pyramidal WSI file. These are generated from the full-res image by some unknown algorithm inside the slide scanner...

I wrote an SO answer with some shots from linear vs. lanczos3: https://stackoverflow.com/questions/54941643/image-downsampling-by-large-factor-without-artefacts/54947439#54947439 You should be able to see the bright lines that lanczos is adding around objects.

Hello, yes, `wrap` does this: ```python b = a.wrap(x=50, y=50) ``` Wraps the origin around to (50, 50). It won't work in sequential mode, sorry. You'd need to copy to...

Hi @berserk82, what platform are you using? Do you mean to the Windows binary, or to the toolkit menu?

I've got autotrace sort-of working as a nip2 menu item, but it's a bit wonky still, I think we'll need an addition to vips for it to work well. Put...