John Cupitt
John Cupitt
Hello @alexlsa, I've not looked at your images, but the general advice is: - Camera focal plane: the sensor need to be co-planar with both your object, and with the...
Hello @HanYanxi , I would guess your libvips has been built without openslide support. You should see: ``` $ vipsheader Mirax2.2-1.mrxs Mirax2.2-1.mrxs: 101832x219976 uchar, 4 bands, srgb, openslideload ``` ie....
On Windows you need the `all` binary: https://github.com/libvips/build-win64-mxe/releases/download/v8.14.5/vips-dev-w64-all-8.14.5.zip
It's in the image properties. Try: ``` $ vipsheader -a Mirax2.2-1.mrxs Mirax2.2-1.mrxs: 101832x219976 uchar, 4 bands, srgb, openslideload width: 101832 height: 219976 bands: 4 format: uchar coding: none interpretation: srgb...
It could be, mrxs files have a lot of levels.
Hi @L3tum, I tried to make a reproducer: ```php #!/usr/bin/env php
That code was adapted from `php-vips/examples/streaming-custom.php` fwiw.
> Write a custom target that returns false at some point Ah maybe that's all the problem is? You need to return -1 for an error, just like C's `fwrite()`....
Updated docs: https://github.com/libvips/php-vips/commit/5f8ed1049f90b1a95a39a127fabd43b2147789d0
Yes, you cannot throw across FFI in any language, I think. It has to be error codes. Maybe `FFI::gobject()->g_value_set_int64()` and friends should test the argument type?