PPUC / ZeDMD

A real DMD for virtual pinball machines and PPUC driven real pinball machines
GNU General Public License v2.0
20 stars 3 forks source link

3 panels 64x32 #57

Open albinholmqvist opened 1 month ago

albinholmqvist commented 1 month ago

Hi, is it possible to make the image stretch to 3 panels? (3x 64x32 px)

Or change the resolution?? Thanks in advance!!

image

mkalkbrenner commented 1 month ago

Yes, it is possible. But it requires code changes to support a resolution of 192x32:

Especially the scaling won't be straight forward. At the moment it is implemented as up or down scaling that keeps the original aspect ratio. Stretching isn't implemented.

A better way might be to only add support for a native resolution of 192x32 and to only center images of smaller resolutions. The clients like batocera or libdmdutil or dmdext or dmd-play should then send images in 192x32 to avoid stretching on the device. But for sure, if someone provides a PR for stretching, I would be happy to review it.

Another option might be a kind of ambilight shown on the left and on the right.