freezy / dmd-extensions

A toolbox for virtual pinball dot matrix displays.
GNU General Public License v2.0
129 stars 55 forks source link

dmdext play with large images doesn't scale to panel size #402

Open gustavoalara opened 1 year ago

gustavoalara commented 1 year ago

Hi

I'm tryning to use the play parameter to send images to the matrix (I'm using ZeDMD with a 256x64 dots matrix), but if I send images larger than 128x32 (for example a 256x64 image) the image doesn't scale or fit to the matrix and is showing with double size. However, using a 128x32 images, the images scaled up and fits to the panel...

I tried changing all the parameters without success

freezy commented 1 year ago

Thanks!

Would you mind sending the image you're testing with, as well as the exact command line, so we can reproduce?

@zesinger @mkalkbrenner can you have a look?

gustavoalara commented 1 year ago

This is the command I'm sending and the output

G:\Emulation\Pinball\Utilidades\ZeDMD\dmdext-v2.2.0-x64-beta2>dmdext play -f "G:\Marquee Pack 5\Animated Marquee Pack 5\Shotgun Collection\mp4\2 Spicy_256.gif" -d zedmd [1] 2023/08/20 14:03:16.596 INFO | Launching console tool v2.2.0-BETA2 [1] 2023/08/20 14:03:17.928 INFO | Reading 934 frames from G:\Marquee Pack 5\Animated Marquee Pack 5\Shotgun Collection\mp4\2 Spicy_256.gif... [1] 2023/08/20 14:03:18.328 INFO | GIF animation is looped. [5] 2023/08/20 14:03:18.357 INFO | Starting ZeDMD frame thread. [1] 2023/08/20 14:03:18.917 INFO | ZeDMD device found on port COM3 with a resolution of 256x64 LEDs [1] 2023/08/20 14:03:18.917 INFO | Added ZeDMD renderer. [1] 2023/08/20 14:03:18.934 INFO | Setting up Render Graph for 1 destination(s) [ ZeDMD ] [1] 2023/08/20 14:03:18.934 INFO | -> Connecting GIF Source to ZeDMD (Bitmap => Rgb24) [1] 2023/08/20 14:03:18.980 INFO | Press CTRL+C to close.

https://drive.google.com/file/d/1Ws5WrLZLUOp-sFm8mQagaFA_H91sVdFM/view?usp=sharing

gustavoalara commented 1 year ago

Hi,

Any news about this bug?