libvips / nip2

A spreadsheet-like GUI for libvips.
https://libvips.github.io/libvips/
GNU General Public License v2.0
362 stars 13 forks source link

How do I view openslide layers? #42

Closed jcupitt closed 10 years ago

jcupitt commented 10 years ago

When I open an Aperio *.svs file, I don't get to choose with of the resolution layers to open. I know Openslide allows you access to any and all of them so how would I do that in nip2?

jcupitt commented 10 years ago

nip2 has no direct support for pyramid layers. You can get it to work on a specific layer by including the layer number in the filename when you start nip2 from the command-line. For example:

nip2 CMU-1.svs:2

means, start nip2 and load layer 2 of CMU-1.svs, so 1/4 scale.

You can also change this after an image has been loaded. Open up the row for a loaded OpenSlide image and append :2 to the filename, inside the quotes. It'll load the 1/4-size version instead.