Openslide/VIPS/IM debugging

Jonas D. S. Øgaard jonas.ogaard at gmail.com
Sat Sep 13 10:19:00 EDT 2014


Hi,

That looks great!

I'm realising my bottleneck here is knowledge of vips syntax ;)

I'll try to read up and do some more tests, but the lines you've given
me should do the trick!

//JonasD

> Den 13. sep. 2014 kl. 16:14 skrev "jcupitt at gmail.com" <jcupitt at gmail.com>:
>
> 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