Skip to content

Can't open GIFs wider than 319x16 #9

Description

@TymonZ

I'm trying to load a GIF file from an SD card on a Teensy 4.1 and display it on a SMARTMATRIX_HUB75_16ROW_MOD8SCAN 448x16 matrix.
I'm using an AnimatedGifsTest example. I tried two configurations:

kRefreshDepth = 36;
kDmaBufferRows = 4;
matrix.setRefreshRate(90);

and

kRefreshDepth = 12;
kDmaBufferRows = 2;
matrix.setRefreshRate(30);

Both produced the same results. Here's the serial output:

Starting AnimatedGIFs Sketch
1:1.gif    size:2105
2:1.2.gif    size:2137
3:1.1.gif    size:2126
4:2.gif    size:2139
Pathname: /gifs/1.gif
Successfully opened GIF; Canvas size = 319 x 16
Pathname: /gifs/1.2.gif
open failed: 2
Pathname: /gifs/1.2.gif
open failed: 2

1.gif has a size of 319x16
1.2.gif has a size of 320x16
Is there anything i could do to load a larger GIF?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions