M
maestro
I just need to be able to:
1. Open an image(gif, bmp, jpg etc).
2. Display it on a webpage or a GUI.
3. Get the colors of the pixels.
And this needs to be simple. What class can do this?
So far I have tried BufferedImage, PixelGrabber, JAI etc.
But they are all superverbose.
I just want to do somethins as simple as this:
import somelibrary
image = openfile('filename.jpg')
pixels = []
for x from 1 to image.xlength()
for y from 1 to image.ylength()
pixles.append(image.getPixel(x,y))
1. Open an image(gif, bmp, jpg etc).
2. Display it on a webpage or a GUI.
3. Get the colors of the pixels.
And this needs to be simple. What class can do this?
So far I have tried BufferedImage, PixelGrabber, JAI etc.
But they are all superverbose.
I just want to do somethins as simple as this:
import somelibrary
image = openfile('filename.jpg')
pixels = []
for x from 1 to image.xlength()
for y from 1 to image.ylength()
pixles.append(image.getPixel(x,y))