Skip to content

tft.image() does not respect setwin()  #338

Description

@callimero

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions