Information
By: Haizen
Asked: October 15, 2011
Worth: 10 Member Points
How to recolor an image in Java

I was just wondering if anyone knows how to recolor a bufferedimage in java, similar to Game Makers [Colorize] sprite function. I've pondered and searched about it, but to no solution.

I've been manually recoloring images then loading them, but i need to be able to recolor the images on-the-fly without loading another image.


Dev - Warning
Dev - After editing rating, make rating display change
Dev - When editing, update "edited" column
Dev - Restore deleted comments
Dev - Display deleted comments if mod (hidden, then with dropdown)
Dev - After deletion or during edit, make rating dropdown appear again
Dev - Stricter rating rules. Prevent user from rating again
Dev - Pages
Dev - Reporting
http://stackoverflow.com/questions/4248104/applying-a-tint-to-an-image-in-java

This might be of some service. I'm not exactly sure what GML's [colorize] sprite function is (as I haven't touched GML for years), but I'm assuming its some form of tint transformation, and the above is fairly close to that.
Posted by DesertFox October 15, 2011 23:12 - 1.6 years ago
| [#1]

Recent Activity
 
Active Users (0)