Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Decoding tiff images error
-
Hello, I tried to do some low level image processing using numpy on my tiffs. Code example :
import numpy as np
from PIL import Imageimage = Image.open(".../photo.tif")
image_array= np.array(image).reshape(-1, 1)Last line will results in OSError "decoder libtiff not available".
I am using ios 16.6 on iPhone 13 mini.Any idea how to add decoder into my pythonista?
-
https://github.com/libsdl-org/libtiff In the right column under
Languages
see what percent oflibtiff
is Python code. Given Apple's iOS guidelines, I believe thatpackages/PIL/TiffImagePlugin.py
andpackages/PIL/TiffTags.py
are the only access you get.