Is there an equivalence of MapRGB for a BufferedImage in Java?

Posted by SDLFunTimes on Stack Overflow See other posts from Stack Overflow or by SDLFunTimes
Published on 2010-04-03T20:52:22Z Indexed on 2010/04/03 21:03 UTC
Read the original article Hit count: 284

Filed under:
|

I'm trying to color individual pixels on a BufferedImage (TYPE_INT_RGB) using setRGB but I'm not for sure how to set format the RGB values I want as a single integer. Is there a method that will take 3 ints (RGB values) and return a correctly formatted integer for setRGB?

© Stack Overflow or respective owner

Related posts about java

Related posts about bufferedimage