File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help with Images

 
Paul Tarbit
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 682
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may want to look here and here
 
Layne Lund
Ranch Hand
Posts: 3061
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.)

Layne
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic