MichaPipo / Generative_Gif_Engine

A generative engine that takes various png layers on a sprite sheet format, combines them and then converts them into a .gif file
MIT License
57 stars 37 forks source link

Error on size #7

Open jozk8 opened 2 years ago

jozk8 commented 2 years ago

I am getting this error? Can the sprite size be modified or is it set in stone?

return new Canvas(width, height, type) ^

Error: invalid value (typically too big) for the size of the input (surface, pattern, etc.) at createCanvas (/Users/jo/Desktop/Generative_Gif_Engine-main/node_modules/canvas/index.js:15:1

ishrodeveloper commented 2 years ago

issue is maximum width and height that gif encoder support. must be below 32672