John Cupitt
John Cupitt
Hi @jonasteuwen, You need to write a libvips operation and define a `generate` function to make the tiles. There's some sample code here: https://github.com/jcupitt/vips-gmic/blob/master/vips_gmic.cpp That's doing input as well, you...
The conda package is not maintained by us, so you'll need to report problems there. I use a regular pip install myself.
Hi @jonashaag, sure this sounds useful. What would it add over going via numpy?
It should be pretty easy right now: ```python import PIL.Image pil_image = PIL.Image.new('RGB', (60, 30), color = 'red') image = pyvips.Image.new_from_array(pil_image) ``` and: ```python import pyvips import PIL.Image image =...
pyvips doesn't lock the GIL itself, but I think cffi (pyvips uses this to call into the libvips binary) will lock around each call. You should check, of course. Most...
Hello @the-database, Yes, by default, pyvips will always present pixels to you as they are in the file. This means it can start processing sooner -- if it obeyed the...
Ah you're right, your file has 8bim, xmp and iptc metadata encoded in PNG comment fields: ``` $ vipsheader -a 0.615461_9766635431_20.png 0.615461_9766635431_20.png: 1165x874 uchar, 3 bands, srgb, pngload width: 1165...
Hi @mbklein, thanks for this. A sample file emailed to jcupitt at gmail.com would be great, if you have one. Have you tested with the openjpeg reader? Something like: ```...
... for background, libvips uses openjpeg for jpeg 2000 decoding. It's not complete or quick, but it's the best free jpeg 2000 library available, as far as I know. Version...
Oooop! Sorry, yes that was my private copy. The harvard one is the official public release.