Navigation

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

    Uploadimagefunction

    Help
    2
    2
    171
    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.
    • V
      void00 F last edited by

      I tried to draw a png image by typing all the values of a pixel which r g b were all the same but it just don’t draw the picture correctly it looked like it was drawing pixels at random place. Did anyone have any success with this function or does the function draw in a weird way depending of we are representing a png, img, or jpeg. If it don’t work right is there a way I can draw each pixel individual at whatever location I want.

      1 Reply Last reply Reply Quote 0
      • N
        Nisse5 F last edited by

        If you want to type in all the rgb values in the array (and not using color references like in the uploadImage() example at https://fuzearena.com/help/view/uploadImage ), you must put the rgb values as vectors, such as {r,g,b,a}.

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