Openslide/VIPS/IM debugging

jcupitt at gmail.com jcupitt at gmail.com
Sat Sep 13 10:13:19 EDT 2014


Hi again,

On 13 September 2014 14:41, Jonas Øgaard <jonas.ogaard at rr-research.no> wrote:
> In detail I want to scale down a mrxs-file to level 1, 2, 3, and save as
> jpeg-compressed, pyramidal tiff.
> Using
>
> $vips openslideload --level 3 MIRAX_SLIDE.mrxs
> slide.tiff[tile,compression=lzw]
>
> I get a single layer based on level 3 from original file, in
> lzw-compression.

vips can write a pyramid directly. Try:

vips copy MIRAX_SLIDE.mrxs[level=3] slide.tiff[tile,compression=deflate,pyramid]

deflate should work better than lzw, probably. It can write png, if you prefer:

vips copy MIRAX_SLIDE.mrxs[level=3] slide.png

It can directly write deepzoom pyramids too.

John


More information about the openslide-users mailing list