John Cupitt
John Cupitt
Looks like libwebp supports block at a time decoding: https://docs.rs/libwebp-sys2/0.1.1/libwebp_sys/fn.WebPIDecGetRGB.html We could use this to avoid buffering the entire image in memory during load. Is there also incremental write now?...
### Discussed in https://github.com/libvips/ruby-vips/discussions/358 Originally posted by **tonymarklove** January 25, 2023 After digging into the `ruby-vips` code I can't see anywhere that `Vips::ForeignPngFilter` is defined. After some investigation it appears...
Hello everyone, thank you for this nice thing. While working on openslide, I've come across a `bfconvert` bug when generating DICOM files. DICOM has a photometricinterpretation tag to indicate either...
Install on ubuntu currently produces this message: ``` $ pip install pyvips Collecting pyvips Using cached pyvips-2.2.1.tar.gz (633 kB) Preparing metadata (setup.py) ... done Requirement already satisfied: cffi>=1.0.0 in /home/john/vips/lib/python3.11/site-packages...
Philips DICOMs don't crop edge tiles, so we must compute downsample from the pixelspacing tag. Additionally, compute level pixel dimensions from the base levels size and the level downsample. If...
A restart marker every few scanlines would make parallel encode and decode much simpler, and have little effect on file size.
Shouldn't be too hard, see: https://wiki.gnome.org/Projects/GTK/OSX The old gtk2 build system for nip2 is here: https://github.com/jcupitt/build-osx
The ruby-vips binding has a nice feature for encapsulating destructive operations, like metadata change or the draw operations: https://www.libvips.org/2021/03/08/ruby-vips-mutate.html tldr: you can write eg.: ```ruby z = x.mutate do |y|...
Would there be any interest in a libvips backend? I had a quick go at a command-line one here: https://github.com/mariocesar/sorl-thumbnail/pull/398 The motivation would be increased speed and lower memory use...
The `config.w32` we have at the moment is just a quick copy-paste and hasn't been tested. We need to find a Windows expert to fix it up and test it.