ItsyBitsy M4 animated .gif

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Jalle
 
Posts: 9
Joined: Thu Mar 18, 2021 11:37 am

ItsyBitsy M4 animated .gif

Post by Jalle »

Hello.
I am playing with a ItsyBitsy M4 and a 1.3" display.
At the moment I am showing a bmp on the display. I would now like to show an animated gif.
What libraries do I have to load to achieve this? Is it even possible?
When trying to repace the bmp with a gif I get "MemoryError: memory allocation failed, allocating 2048 bytes"

I am using circuitpython.

Another option would be to upload the separate frames for the animation and let the program do the animation (it is only two - three images). But my programming skills does not yet allow me to do that.

//Jalle

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: ItsyBitsy M4 animated .gif

Post by mikeysklar »

Jalle,

No animated GIF support CircuitPython as of now.

We do have an animated GIF guide for M4 based processors, but it is for Arduino.

https://learn.adafruit.com/pyportal-ani ... if-display

User avatar
Jalle
 
Posts: 9
Joined: Thu Mar 18, 2021 11:37 am

Re: ItsyBitsy M4 animated .gif

Post by Jalle »

mikeysklar,

Thank you.

I will look into other alternatives then.

//Jalle

Locked
Please be positive and constructive with your questions and comments.

Return to “Itsy Bitsy Boards”