How to convert get.rgb(x,y) integer pixel to Color(r,g,b,a) in Java?
Posted
by Gabriel A. Zorrilla
on Stack Overflow
See other posts from Stack Overflow
or by Gabriel A. Zorrilla
Published on 2010-03-28T19:00:29Z
Indexed on
2010/03/28
19:03 UTC
Read the original article
Hit count: 250
I have the integer pixel i got from get.rgb(x,y), but i dont have any clue about how to convert it to RGBA. For example, -16726016 should be Color(0,200,0,255). Any tips?
© Stack Overflow or respective owner