MicroPython_ESP32_psRAM_LoBo icon indicating copy to clipboard operation
MicroPython_ESP32_psRAM_LoBo copied to clipboard

tft.image() does not respect setwin()

Open callimero opened this issue 3 years ago • 0 comments

Lines are nicely drawn respecting the setwin() numbers (ST7789 with a TTGO Display 240x135 which needs the setwin to stay mentally sane)

tft.image() does not respect the setting.

tft.setwin(40, 52, 279, 186)
tft.savewin()
tft.image(0, 0, 'assets/Egghead_headG.jpg' )      # shifted out of screen
tft.image(40, 52, 'assets/Egghead_headG.jpg' )  # manual with numbers from setwin, all visible
tft.line(0, 0, 100, 100, 0xFFFFFF)

callimero avatar Sep 16 '22 08:09 callimero