Results 1 to 7 of 7
Thread: Java PNG problem
- 07-16-2011, 05:28 PM #1
Member
- Join Date
- Jul 2011
- Posts
- 5
- Rep Power
- 0
Java PNG problem
So I'm making a little Java project with a few other people, and one of the features that is necessary, we don't know how to do. I'll try to explain it the best I can, and see if you know what Java syntax could be used.
Basically the program will load a png image.
After the Image is loaded, the program will look at the first pixel of the image, and then do something based on the rgba value of it.'
Then it moves to the next pixel and repeats until it's looked at all of the pixels.
I understand how to load images, but I'm not sure how to look at the exact pixels, nor do I know what to google, so I'm looking for help here, thanks!
- 07-16-2011, 05:42 PM #2
Look at the PixelGrabber class and the BufferedImage class. They both have ways to get at the RGB values for a image byte.
- 07-16-2011, 05:49 PM #3
Member
- Join Date
- Jul 2011
- Posts
- 5
- Rep Power
- 0
- 07-16-2011, 05:53 PM #4
Use Search here or Googlea little example of how to use it
- 07-16-2011, 09:39 PM #5
Member
- Join Date
- Jul 2011
- Posts
- 5
- Rep Power
- 0
I'm so lost with pixel grabber, it just isn't working for me, any help?
- 07-16-2011, 09:42 PM #6
You forgot to post the code you are having problems with.
- 07-16-2011, 09:53 PM #7
Member
- Join Date
- Jul 2011
- Posts
- 5
- Rep Power
- 0
Similar Threads
-
Problem with Java Web Applications and Java in Control Panel
By Abysinian in forum Advanced JavaReplies: 4Last Post: 03-16-2012, 11:29 AM -
java problem!
By nini86 in forum New To JavaReplies: 7Last Post: 05-30-2011, 02:42 PM -
Java url problem
By sharifiit in forum NetworkingReplies: 0Last Post: 04-30-2011, 07:52 PM -
Problem Display Jmenubar Java Se6 u23 versus Java SE6 u22
By Ravanelly in forum Advanced JavaReplies: 0Last Post: 01-07-2011, 09:36 AM -
Problem with Java...
By mc6415 in forum New To JavaReplies: 10Last Post: 02-22-2010, 12:24 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks