Re: kosher jpgs
- From: Daniel Pitts <newsgroup.spamfilter@xxxxxxxxxxxxxxxxxxx>
- Date: Fri, 31 Oct 2008 14:00:24 -0700
Kenneth P. Turvey wrote:
On Fri, 31 Oct 2008 12:33:22 -0700, Roedy Green wrote:All compression ratios are inversely proportionate to entropy. Lossy compression allows you to throw out entropy, while lossless only minimizes non-entropy data. Lossy compression may result in in some data that still has some non-entropy in it.
I noticed that winzip sometimes issues a warning message that it can't
compress a jpg with its proprietary jpg compression method. This
suggests that some of my jpgs are not completely kosher.
This lead be to wonder if there is some java code to detect if jpgs are
completely kosher, ditto pngs, and possibly correct them if not.
Alternatively, perhaps some utility will do this.
I also wondered what it might be about the images that Winzip does not
like.
This made me wonder.. how much more can you really expect to compress a .jpg file? It is already compressed using a lossy compression algorithm. Would taking on another lossless compression algorithm on top really buy you much if anything?
--
Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/>
.
- References:
- kosher jpgs
- From: Roedy Green
- Re: kosher jpgs
- From: Kenneth P. Turvey
- kosher jpgs
- Prev by Date: Re: Java/TomCat How to Configure a Servlet contextPath
- Next by Date: Re: Date Time additions/parsing
- Previous by thread: Re: kosher jpgs
- Next by thread: Date Time additions/parsing
- Index(es):
Relevant Pages
|