Skip to content

how to fix color issue in slides #551

@Rasaa84

Description

@Rasaa84

Hi @jcupitt
I scanned a slide with the VENTANA DP 200 scanner. When I read the slide with pyvips, the image appears somewhat darker. I’ve already tried applying icc_transform, and I’m using pyvips 3.0.0. Below is the image I obtained after running dzsave.

Image

and here is the code I use:

image = pyvips.Image.new_from_file("slide.tif")
image_srgb = image.icc_transform("srgb")
image_srgb.dzsave("dzi_slides", tile_size=2048)

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