John Cupitt
John Cupitt
Final test prog -- I tried the python version with the operation cache disabled: ```python #!/usr/bin/python3 import os import psutil import sys import pyvips def pyvips_decoder(image_data): buf_in = pyvips.Image.new_from_buffer(image_data, "",...
Hello @thomaslchan, yes, libvips itself does this: https://github.com/libvips/libvips/blob/master/.travis.yml The libvips test suite is run on every commit, and that's implemented in pyvips.
pyvips does it like this: https://github.com/libvips/pyvips/blob/master/.travis.yml So it caches the libvips build.
Hi again, try `nip --help`. The flags you need are maybe: ``` -w, --stdin-ws load stdin as a workspace -d, --stdin-def load stdin as a set of definitions ``` I...
There's a chapter in the docs on the command-line switches, did you find it? http://www.vips.ecs.soton.ac.uk/supported/7.42/doc/html/nipguide/nipguidese13.html#x21-390004.5 The idea is that `-s` and `-e` are the main two batch mode settings, with...
Ooop, forgot, the other idea is that nip2 definitions are in two layers. The menu definitions are not useful for writing batch scripts (they assume there's a workspace visible), so...
Hello @petoor, You need to install `libnifti2-dev` and then recompile libvips. It should be easy. Check the output of configure to make sure it's picking up nifti, then try: ```...
Yes, that works, or of course you could enter `Image_file A32.value` in `A36`. I think when I wrote the docs the toolkits were still in flux, so I didn't want...
Try `image.scaleimage()`. https://libvips.github.io/pyvips/vimage.html#pyvips.Image.scaleimage Main docs: https://jcupitt.github.io/libvips/API/current/libvips-conversion.html#vips-scale
You've opened your image in sequential mode. Remove the `access=` from the `new_from_file`.