new version of vips, with some relevant new features
jcupitt at gmail.com
jcupitt at gmail.com
Mon Oct 7 07:54:43 EDT 2013
Hi all, there's a new version of vips out:
http://libvips.blogspot.co.uk/2013/10/new-stable-version-7360.html
It has a couple of new features which might be interesting to some
openslide users.
You can now use .dz as a filename suffix on the command-line, meaning
you can efficiently run any vips operation as a "pre-processor" to the
deepzoom pyramid builder. For example:
$ vips extract_area huge.svs mypy.dz[layout=google] 100 100 10000 10000
The arguments to extract_area are image-in, image-out, left, top,
width, height. So this command will cut out a 10,000 by 10,000 pixel
area from near the top-left-hand corner of an Aperio slide image, then
build a tile pyramid using just those pixels and the Google tile
naming convention.
Another useful one might be:
$ vips shrink huge.png mypy.dz 16 16
Meaning, shrink the png image by a factor of 16 then build the pyramid
from that. This would, in effect, remove the bottom four pyramid
layers.
There's a new --angle argument to the deepzoom writer which lets you
rotate the image by 0, 90, 180 or 270 degrees during write.
There's a longer introduction to the deepzoom pyramid builder here:
http://libvips.blogspot.co.uk/2013/03/making-deepzoom-zoomify-and-google-maps.html
John
More information about the openslide-users
mailing list