The moose likes Beginning Java and the fly likes  Help with Images Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark " Help with Images" Watch " Help with Images" New topic

Help with Images

Paul Tarbit

Joined: Nov 21, 2004
Posts: 5
Hi all, I am new here and pretty new to handling images in Java, as I am merely a student at university. However after several days looking I have turned here for help. I have been given the task to construct a compressor program for 3 images with the file extension PNG (.png). I have the actual code for the compression, but for it to work, I need to load the images in Java and then convert it into a binary (ie each pixel to the binary representation for it), file (or array) to input into the compressor. I have seen a lot of code on the internet and a lot are very complex, and I am merely looking for the very basic code to do it, and maybe if possible an explanation to go with it, or even better the algorithm of how it works. Any help here would be great,

Thanks very much for the time!
Nigel Browne
Ranch Hand

Joined: May 15, 2001
Posts: 673
You may want to look here and here
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
Please don't post the same question in multiple forums. It makes it difficult for us to follow the conversation. Also, time is wasted because so much information is repeated.

It looks like you have already responded to my comments in your other thread. (Can an admin close one of these threads? Thanks.)


Java API Documentation
The Java Tutorial
I agree. Here's the link:
subject: Help with Images
It's not a secret anymore!