Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Load part of an image by coordinates
Forum Updated to NodeBB v4.3 + New Features

Load part of an image by coordinates

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 3 Posters 528 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Son Nguyen Ngoc
    wrote on last edited by Son Nguyen Ngoc
    #1

    Hi guys,

    I want to load part of an image by coordinates, which is in middle of this image. For example, i want to make a clock and 12 numbers of this clock is loaded from an image.

    0_1526960747314_Image_Merge_1to9.png

    Thanks

    ODБOïO raven-worxR 2 Replies Last reply
    0
    • S Son Nguyen Ngoc

      Hi guys,

      I want to load part of an image by coordinates, which is in middle of this image. For example, i want to make a clock and 12 numbers of this clock is loaded from an image.

      0_1526960747314_Image_Merge_1to9.png

      Thanks

      ODБOïO Offline
      ODБOïO Offline
      ODБOï
      wrote on last edited by
      #2

      Hello,
      Maybe using sprite can help you.
      there are lot of exemples : https://evileg.com/en/post/177/

      1 Reply Last reply
      1
      • S Son Nguyen Ngoc

        Hi guys,

        I want to load part of an image by coordinates, which is in middle of this image. For example, i want to make a clock and 12 numbers of this clock is loaded from an image.

        0_1526960747314_Image_Merge_1to9.png

        Thanks

        raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by
        #3

        @Son-Nguyen-Ngoc
        QPixmap::copy()

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        3

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved