Subject: Image Compression
Posted By: vaibhav Post Date: 7/3/2008 12:43:57 AM
Hi all,
I am trying to develop code for Lossless image Compression.
Suppose i have an image named SampleImage.jpg having size 20KB and when i apply my lossless compression technique on it i am able to reduce the Pixel data. but when i try to store this pixel data on disk in some file format(may be as.txt or as .jpg)then the size of that file is more than the Original file  (SampleImage.jpg) size, Which infact should be less than the original size.

What shall i do...



Reply By: gbianchi Reply Date: 7/3/2008 6:43:25 AM
Hi there...

That in fact is a common issue with compression.. If you original data is too small, then if you are using a bad method you can in fact inflate the original file. What algorithm of compression are you using?...

Also, are you sure that in memory the file is really compressed?? did you try with a much longer file???

HTH

Gonzalo

===========================================================
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
===========================================================
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
===========================================================
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles/Classics-Week-I-Hate-You.aspx
===========================================================

Go to topic 72019

Return to index page 1