|
Re: Java image processing - accessing pixel data
It is possible to do it. The Image class has a pointer to the jpeg image in memory named "Image". It is a public field and did not catch that it was there the first 2 years. You just decode that data into raw bytes and then you can access as you want to as "pixels".
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
|