Bitte ändert euer Passwort!
Im März 2026 wurde das Forum gehackt. Dabei hatten die Angreifer Zugriff auf die Datenbank und somit Zugriff auf eure Passwörter. Auch wenn das Forum kein Passwort im Klartext speichert, können die Angreifer eure Passwörter knacken. Bitte ändert daher dringend euer Passwort für das Forum. Solltet ihr das gleiche Passwort auch an anderer Stelle verwenden, ändert es bitte unbedingt an allen Stellen!
Max limit on loadimage?
- Jostebo
- Autor
- Offline
- Neues Mitglied
-
- Beiträge: 6
- Thanks: 0
Max limit on loadimage?
02 Jan. 2023 19:41I am facing an issue with the number of images I load during startup. NO error message. I use tiny png images as "icons" to show the RPM gauge / temperature gauge ++.
Some of the images are not showing up in the UI, and its always the last one to be loaded. If I change order, it will be the last one.
PS: It is working fine in Studio, but not on the DS-24.
what is the max number of images that can be loaded using lcd.loadimage command?
What is the max number of Kb that can be loaded for pictures / icons?
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- davidmcq137
- Offline
- Senior Mitglied
-
- Beiträge: 79
- Thanks: 87
Re: Max limit on loadimage?
04 Jan. 2023 03:18 - 04 Jan. 2023 03:22That is an interesting question .. which I guess is a nice way of saying I don't know
If it would help you, I have drawn arcs like yours with the anti-alias drawing (rendering) api and of course you have to make them out of filled polygons .. but it is actually not bad .. you don't need as many segments as you think to make the segments invisible at the screen resolution. And it can be drawn continuously vs in increments as you have to do with images. If you are interested it's in my Dial app on my github ( github.com/davidmcq137/JetiLuaDFM ) .. I can point you to the right place if you are interested. It does burn some CPU time but the new TXs handle it easily. You need to look in the dev branch...
Dave
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Raf
- Offline
- Premium Mitglied
-
- Beiträge: 141
- Thanks: 192
Re: Max limit on loadimage?
04 Jan. 2023 11:33I can recommend to draw antialiased lines instead of loading pictures. Recommendation: at least load image one by one - one image at each program iteration, so the GUI is not blocked. Graphics looks nice
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Jumbo 747
- Offline
- Neues Mitglied
-
- Beiträge: 14
- Thanks: 4
Re: Max limit on loadimage?
05 Jan. 2023 07:51 - 05 Jan. 2023 07:52Hi Jostebo,
That is an interesting question .. which I guess is a nice way of saying I don't knowThe digitech CTU turbine app used arcs like you are for displaying gauges, and had them in multiple colors and multiple sizes and in 5 degree increments. It was a LOT of image loading ... it's very pretty but the downside is a very long loading process.
If it would help you, I have drawn arcs like yours with the anti-alias drawing (rendering) api and of course you have to make them out of filled polygons .. but it is actually not bad .. you don't need as many segments as you think to make the segments invisible at the screen resolution. And it can be drawn continuously vs in increments as you have to do with images. If you are interested it's in my Dial app on my github ( github.com/davidmcq137/JetiLuaDFM ) .. I can point you to the right place if you are interested. It does burn some CPU time but the new TXs handle it easily. You need to look in the dev branch...
Dave
Hallo, haben Sie einen Link zu dieser App für die CTU?
Grüße
Silvo
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Jostebo
- Autor
- Offline
- Neues Mitglied
-
- Beiträge: 6
- Thanks: 0
Re: Max limit on loadimage?
06 Jan. 2023 05:56 - 06 Jan. 2023 06:02I tried to reach you thru Facebook Messenger.
I would love to chat more about how to draw some of the graphics.
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Jostebo
- Autor
- Offline
- Neues Mitglied
-
- Beiträge: 6
- Thanks: 0
Re: Max limit on loadimage?
06 Jan. 2023 06:04But I have now added support for Xicoy as well, for those using Xicoy turbines. Will post this as well in few days.
Bitte Anmelden oder Registrieren um der Konversation beizutreten.