Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

image and pixel

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
hi,

I searched a methode in jdk1.2, to get the pixel of an image, like in delphi or builder: Image->Pixel;

and I don't found.

is there a methode in java to get this information?

thanks
 
Hi,

Are you trying to get the height and width of an Image, if so, there are the getHeight() and getWidth() methods within the Image class.

Pardon me if I am wrong because I have never done delphi before :)

Regards,
Leon If you need additional help, you can email to me at zaoliang@hotmail.com I don't guaranty that I will be able to solve your problems but I will try my best :)
 
hi Leon,

thank for your response, but I'm not searching for the width and the height.

I'm trying to get the color information of a pixel.
 
Hi,

Sorry about my mistake. From what I see from your previous post, you are trying to get the pixels for an image.

I think you can take a look at the class PixelGrabber. It should have what you needed there :)

Regards,
Leon If you need additional help, you can email to me at zaoliang@hotmail.com I don't guaranty that I will be able to solve your problems but I will try my best :)
 
I am not sure but i have JDK1.3 there is something called PixelGrapper (I mean a class). it could have some good methods.!! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top