Pil/Pillow doesn't support PNG files

16 views
Skip to first unread message

I.R.B.A.

unread,
Mar 14, 2019, 2:18:37 AM3/14/19
to Kivy users support
Pillow works with jpeg and most image file types but not PNG.

I did run `sudo apt-get install zlib1g-dev` but that doesn't seem to solve the problem. Any help will be appreciated

ERROR:

    03-14 01:55:24.934 21254 25588 I python  :    File "/home/kivy/Desktop/PicApp/.buildozer/android/app/main.py", line 4088, in photo_effect
   
03-14 01:55:24.934 21254 25588 I python  :    File "/home/kivy/Desktop/PicApp/.buildozer/android/platform/build/build/python-installs/picapp/PIL/ImageEnhance.py", line 54, in __init__
   
03-14 01:55:24.934 21254 25588 I python  :    File "/home/kivy/Desktop/PicApp/.buildozer/android/platform/build/build/python-installs/picapp/PIL/Image.py", line 892, in convert
   
03-14 01:55:24.934 21254 25588 I python  :    File "/home/kivy/Desktop/PicApp/.buildozer/android/platform/build/build/python-installs/picapp/PIL/ImageFile.py", line 210, in load
   
03-14 01:55:24.934 21254 25588 I python  :  IOError: [Errno 22] Invalid argument



I.R.B.A.

unread,
Mar 14, 2019, 9:27:48 AM3/14/19
to Kivy users support
libpng is already installed
Reply all
Reply to author
Forward
0 new messages