microsoft / ExpressivePixels

ExpressivePixels is an embedded prototype platform for ambient LED based displays that allows for the rapid assembly, authoring and control of animations and lighting sequences.
MIT License
71 stars 15 forks source link

JSON Format should include the resolution #4

Open MarkAlanJones opened 4 years ago

MarkAlanJones commented 4 years ago

The dimensions can be determined from an I frame - taking the Square root of the array , and assuming the image is square

However some expressive pixels can render as all P frames. In which case the width needs to be known to render correctly.

Many implementations will have a fixed size that matches the ExpressivePixel being rendered. This is not the case if you use a display that is larger than the animation.

It would be simpler just to put the dimensions in the JSON

GJSea commented 3 years ago

Great idea, this will be in the next build of the Windows App