Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

PiTFT Python + Pillow Animated Gif Player tutorial getting '
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

PiTFT Python + Pillow Animated Gif Player tutorial getting '

by IotDevS on Sat May 16, 2020 10:56 pm

Hi,

I am trying to run PiTFT Python + Pillow Animated Gif Player tutorial but I am getting:

Found ['waterresize.gif']
Loading waterresize.gif...
Traceback (most recent call last):
File "rgb_display_pillow_animated_gif.py", line 195, in <module>
gif_player = AnimatedGif(disp, width=disp_width, height=disp_height, folder=".")
File "rgb_display_pillow_animated_gif.py", line 78, in __init__
self.run()
File "rgb_display_pillow_animated_gif.py", line 155, in run
auto_advance = self.play()
File "rgb_display_pillow_animated_gif.py", line 129, in play
self.preload()
File "rgb_display_pillow_animated_gif.py", line 119, in preload
frame_object.image = ImageOps.pad( # pylint: disable=no-member
AttributeError: module 'PIL.ImageOps' has no attribute 'pad'

I am using 1.14" tft screen.

Any help will be appreciated.

Thanks

IotDevS
 
Posts: 1
Joined: Sat May 16, 2020 10:02 pm

Please be positive and constructive with your questions and comments.