Comments (4)
glad you got it working. To be fair, there are 2 different codebases
- neomatrix
- the gif code
so indeed they need to be configured separately and correctly for everything to work :)
from animatedgifs.
You're looking for gif_size:
AnimatedGIFs/neomatrix_config.h
Line 151 in 179a2d6
I think the library expects square gifs, so you'd need to decode a 128x128 gif and use the OFFSETY as shown in
Let me know if that works and I'll close this
from animatedgifs.
Thanks Marc Merlin for very quick response. Please give me few days for this to work on your suggestion. I will update you with in next week.
Many Thanks. :)
from animatedgifs.
Hi MarcMerlin,
Thank you so much for your suggestions, but it was my dumb mistake. Rectangular gifs are also working smoothly.
I was doing following mistake.
In https://github.com/marcmerlin/AnimatedGIFs/blob/master/neomatrix_config.h file I was passing direct pixels count in
const uint8_t kMatrixWidth = 128; const uint8_t kMatrixHeight = 64;
But it works well when I passed Tile size first then total number of Tiles in horizontal and vertical. Actually
I was thinking , these configuration was for NeoMatrix not for SmartMatrix. But In reality these variables are also used for mapping smartMatrix kpanels.
`const uint16_t MATRIX_TILE_WIDTH = 64; // width of EACH NEOPIXEL MATRIX (not total display)
const uint16_t MATRIX_TILE_HEIGHT= 32; // height of each matrix
// Used by LEDMatrix
const uint8_t MATRIX_TILE_H = 2; // number of matrices arranged horizontally
const uint8_t MATRIX_TILE_V = 2; // number of matrices arranged vertically
// Used by NeoMatrix
const uint16_t mw = MATRIX_TILE_WIDTH * MATRIX_TILE_H;
const uint16_t mh = MATRIX_TILE_HEIGHT * MATRIX_TILE_V;
/// SmartMatrix Defines
#define COLOR_DEPTH 24 // known working: 24, 48 - If the sketch uses type `rgb24` directly, COLOR_DEPTH must be 24
const uint8_t kMatrixWidth = mw; //128
const uint8_t kMatrixHeight = mh; //64`
Many Thanks again for your quick support and nice work.
Regards,
Harpreet
from animatedgifs.
Related Issues (15)
- Support for Teensy 3.2 HOT 1
- Fat FS mount failed. Not enough RAM? HOT 12
- 60 x 120px Doesnt Display on M64BY64 HOT 9
- SDcard HOT 5
- "'FFat' was not declared in this scope" in SimpleGifAnimViewer HOT 4
- How to build the project. HOT 5
- [Goodies: new animated gifs] HOT 1
- Animation stalls when looping gif with >32 colors HOT 5
- Off-by-one error in getGIFFilenameByIndex HOT 3
- Trying to get this to run with ws2812b strip and esp32 HOT 15
- esp32 smartmatrix wiring + sdcard HOT 1
- ESP32FFat Failed HOT 1
- Pretty new to this! why no output pin defined? HOT 1
- Fat FS mount failed. Not enough RAM? HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from animatedgifs.