Skip to content

Writing multi-channel pyramids #502

Open
@petroslk

Description

@petroslk

Hey there,

I had a question regarding the writing of pyramids with more than 3 channels. In my case, these are multiplex immunofluorescence images with ~20 channels per magnification layer.

When reading them I can see that all the pages are correctly read:

image = pyvips.Image.new_from_file("/home/storage/co_registration_IF_HE/slides_to_reg/test_slide.er.qptiff")
image.get_n_pages()
133

But when I write this to a tiff file, it only seems to write one channel per pyramid layer:

image.tiffsave(f'test_multi_channel.tif', tile=True, pyramid=True)
image2 = pyvips.Image.new_from_file("test_multi_channel.tif")
image2.get_n_pages()
9

Can I actually write such images directly?

Thanks a lot!

Petros

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions