We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attempted to read a LZW compressed image as follows:
from PIL import Image import matplotlib.pyplot as plt # read file image = Image.open('test.tif') # display file as image plt.imshow(image) plt.show()
The image was originally converted from .bif to .tif using the below tool and command: Tool: Command Line Tool from https://www.openmicroscopy.org/bio-formats/
.bif
.tif
bfconvert -series 2 -compression LZW test.bif test.ome.tif
The image to be displayed as it is.
The displayed image contains strips across it and is discolored.
The text was updated successfully, but these errors were encountered:
Maybe related to #4621?
Sorry, something went wrong.
Neither of the images attached in the post are a TIFF. Could we get a copy of the TIFF that Pillow was given?
Testing with http://openslide.cs.cmu.edu/download/openslide-testdata/Ventana/OS-2.bif, ./bfconvert -series 2 -compression LZW test.bif test.ome.tif, and
./bfconvert -series 2 -compression LZW test.bif test.ome.tif
from PIL import Image Image.MAX_IMAGE_PIXELS=None # may not be necessary for your image im = Image.open("test.ome.tif") im.show()
I find this is resolved by #5364
No branches or pull requests
What did you do?
Attempted to read a LZW compressed image as follows:
The image was originally converted from
.bif
to.tif
using the below tool and command:Tool: Command Line Tool from https://www.openmicroscopy.org/bio-formats/
What did you expect to happen?
The image to be displayed as it is.
What actually happened?
The displayed image contains strips across it and is discolored.
What are your OS, Python and Pillow versions?
The text was updated successfully, but these errors were encountered: