|
Post by Bob on Jun 10, 2022 10:34:29 GMT -8
Hi everyone,
I am new to gameduino and trying out a new project. I am currently trying to upload some jpgs from the SD card to my monitor. I am able to upload them to the screen just fine but I am struggling with trying to get them to fit the entire screen. Any tips or recommendations?
I know you can't expand an image bigger than its size but I've tried adding bigger images and I either get an ERROR: image type not recognized in cmd_loadimage() or it doesn't fit properly.
|
|
|
Post by armadafg on Jun 21, 2022 0:52:01 GMT -8
Hi "but I am struggling with trying to get them to fit the entire screen" What do you mean ? Personally I use assets and as they have a maximum size in terms of pixels. So I assembled several images to make only one. But it's been since the Gmduino2 in 2015-2016 that I no longer use the technique of loading a jpgs image via an SD card. And I don't know if this technique has the same limits. Gameduino 2 had a resolution of 480 by 272, so the problem did not arise. But I know that if my image was smaller than 480 by 272 I used the command GD.cmd_scale(,); www.excamera.com/files/gd2book_v0.pdfwhat is your gamediuno model?
|
|
|
Post by Bob on Jun 21, 2022 7:25:08 GMT -8
Hi,
So I would load the image from an sd card and display it onto a tv/monitor. When I would display it, the image would only be displayed on only quarter of the screen. I have not tried GD.cmd_scale(,); so that might be my solution.
I have the Gameduino 3x
|
|