Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    How can I read pixel data from an image?

    Help
    3
    4
    243
    Loading More Posts
    • 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.
    • Minatsu
      Minatsu last edited by

      I created an image and drew some graphics by changing the drawing target by setDrawTarget() function.

      Now I want to read pixel data (R,G,B,A) at a certain position of the image.
      How can I do it?

      1 Reply Last reply Reply Quote 1
      • Dave
        Dave Fuze Team last edited by

        Hi @Minatsu, a getPixel() function is going to be included in a future update. Currently you cannot do this. Very sorry to disappoint!

        Minatsu 1 Reply Last reply Reply Quote 2
        • Minatsu
          Minatsu @Dave last edited by

          Thank you Dave.
          I'm looking forward to the update! (^^)

          1 Reply Last reply Reply Quote 0
          • Amethyst
            Amethyst last edited by

            I am also waiting for this feature.
            It would also be great if there was some method of exchanging images (except for the clipboard) created in the code using uploadImage() between projects.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post