You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem with drawing map on display.
As You see, display show additional 320x8 block below map as a 20 copies of last read block from jpeg (marked with a red block):
The same map (link from serial terminal) downloaded on pc do not contain "boxboxbox..." block.
For me, MAP_HEIGHT = 200 is a not good choice, because when You add a litle debug to renderJPEG:
then You see that MCUWidth & MCUHeight are a square blocks 16x16.
When with width, in this case, everything is fine, because 320 / 16 = 20,
with map height we have problem because 200 / 16 = 12.5
...so, renderJPEG still draw inside:
while (count--) {tft_->pushColor(*pImg++);}
last reading from jpeg block on display (320x8) for completion to 16, although jpeg ends.
Best choice for map height is 192 or 208
and/or some mod a renderJPEG procedure...
The text was updated successfully, but these errors were encountered:
Thank you for the analysis! I have seen this as well but didn't have time to look into it. We'll have to see if 204 still have enough space for the detail information...
I have a problem with drawing map on display.
As You see, display show additional 320x8 block below map as a 20 copies of last read block from jpeg (marked with a red block):
The same map (link from serial terminal) downloaded on pc do not contain "boxboxbox..." block.
For me, MAP_HEIGHT = 200 is a not good choice, because when You add a litle debug to renderJPEG:
then You see that MCUWidth & MCUHeight are a square blocks 16x16.
When with width, in this case, everything is fine, because 320 / 16 = 20,
with map height we have problem because 200 / 16 = 12.5
...so, renderJPEG still draw inside:
last reading from jpeg block on display (320x8) for completion to 16, although jpeg ends.
Best choice for map height is 192 or 208
and/or some mod a renderJPEG procedure...
The text was updated successfully, but these errors were encountered: