I want to know what is the easiest way to write a tool that will resize jpeg's.
THANK YOU!
I want to know what is the easiest way to write a tool that will resize jpeg's.
THANK YOU!
First step perhaps would be to find out all the info you could on the JPEG format. Perhaps checking out the information available from wotsit.org would help. Once you have figured out how the information is stored within the JPEG format, you will have a starting point for your program to then modify the data.
"Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
-Christopher Hitchens
working with the .jpg format is a biatch in c++ but it has been made considerably easier now since the advent of GDI+. Look up GDI+ at msdn and review the sample source available.
Free the weed!! Class B to class C is not good enough!!
And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi