openslide-python icon indicating copy to clipboard operation
openslide-python copied to clipboard

Encountered image distortion after reading with `slide.read_region()`

Open super233 opened this issue 5 years ago • 7 comments

Context

Issue type (bug report or feature request): bug report Operating system (e.g. Fedora 24, Mac OS 10.11, Windows 10): Ubuntu 18.04.3 LTS Platform (e.g. 64-bit x86, 32-bit ARM): 64-bit x86 OpenSlide Python version (openslide.__version__): 1.1.2 OpenSlide version (openslide.__library_version__): 3.4.1 Slide format (e.g. SVS, NDPI, MRXS): TIF

Details

Encountered image distortion after reading with slide.read_region(), is there any solutions?

image

super233 avatar Oct 29 '20 03:10 super233

There is no OpenSlide or OpenSlide Python version 3.7.3. Please double-check your OpenSlide version.

Is this a generic tiled TIFF image, or is it produced by a particular scanner vendor?

bgilbert avatar Oct 29 '20 03:10 bgilbert

When I use python 3.6, this problem has been solved. Thank you for your reply.

super233 avatar Oct 29 '20 07:10 super233

Was this an observed problem when using python 3.7.3 as the interpreter then?

jaharkes avatar Oct 29 '20 13:10 jaharkes

Do you mean that the problem was not reported in openslide when runing with python 3.7.3, but oberved after the target file generated? @jaharkes

super233 avatar Oct 29 '20 13:10 super233

I was just curious because the original bug report mentioned openslide-python-3.7.3 which is something that doesn't exist. And then you closed it with a comment that when you use python-3.6 the problem is solved.

So I was trying to figure out if the original report was about python-3.7.3 instead.

jaharkes avatar Oct 29 '20 15:10 jaharkes

Ooops, sorry! The original report was about python-3.7.3! I have updated the issue description.

super233 avatar Oct 29 '20 15:10 super233

It's possible that this is caused by a bug in old versions of pixman. Are you still seeing this issue?

bgilbert avatar May 29 '22 01:05 bgilbert