Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Untitled  





2 Image Captions  
2 comments  




3 Image Size  
1 comment  




4 Lena image  
18 comments  


4.1  Replacement Proposal  





4.2  Lena image, retry  







5 Compression  
1 comment  




6 Transcoding  
1 comment  




7 WTF people?  
1 comment  




8 Lossy "COMPRESSION"  
2 comments  




9 Transform coding  
1 comment  




10 Dog images look wrong  
3 comments  




11 Amiga HAM isn't lossy compression  





12 External links modified  
1 comment  













Talk:Lossy compression




Page contents not supported in other languages.  









Article
Talk
 

















Read
Edit
Add topic
View history
 








Tools
   


Actions  



Read
Edit
Add topic
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Untitled[edit]

This page should probably be consolidated with the codec page

Image Captions[edit]

The information in the image captions is confusing and seems to conflict with itself.

Original Image (lossless PNG, 60.1 KB size) — uncompressed is 108.5 KB

If it is 108.5 KB when uncompressed, then how can the original, lossless image be 60.1 KB?

Low compression (84% less information than uncompressed PNG, 9.37 KB)

So... is this compressed to 84% or 16% of the original file size? Is 9.37 KB the loss of information or the compressed file size?

Medium compression (92% less information than uncompressed PNG, 4.82 KB)
High compression (98% less information than uncompressed PNG, 1.14 KB)

I have doubts about the accuracy of these numbers because, to me, the examples of low and medium compression don't seem to differ from the original image at all. I am also concerned that "low" compression is said to reduce the file size from 60.1 KB (or is it 108.5 KB?) to a mere 9.37 KB without any apparent loss. To me, a loss of 84% of data is not low and should create visible degradation. --Humanist Geek (talk) 01:15, 16 May 2010 (UTC)[reply]

It's obvious to the naked eye that the low compression and medium compression photos are swapped. Unfortunately, it's that way in the originals, not just in this article. You can confirm that by the file size too. The medium compression file size is bigger than the low compression file size. It should be smaller. With such a goofy mistake, I wouldn't trust the other numbers either. --98.151.165.109 (talk) 21:53, 23 October 2012 (UTC)[reply]

Image Size[edit]

I think the examples used in this article should be larger (or at least have links to larger versions) so people can easily examine the images and note the differences between the examples.--Humanist Geek (talk) 01:15, 16 May 2010 (UTC)[reply]

Lena image[edit]

This is the proper forum to discuss the image in question, rather than trying to squeeze the comments in the history. I chose the Lena image because it is the standard image to use when you talk about any type of image processing. As far as I can determine, the image is still under Playboy copyright, but it is practically in the public domain (perhaps it already is?) because of its proliferation. This is the image that should be used. - grubber 17:48, 2005 July 22 (UTC)

Replacement Proposal[edit]

Original Image (lossless PNG, 60.1 KiB size)
Low Compression (91% less information, 9.37 KiB)
Medium Compression (95% less information, 4.82 KiB)
High Compression (98% less information, 1.14 KiB)

What do you think? --Shlomital 11:31, 14 October 2005 (UTC)[reply]

I would recommend throwing out the medium compression example and replace the high compression with one not quite so high, maybe 96 or 97%, pick one that shows apparent distortion, but not as extreme as 98%. 199.125.109.15 00:28, 10 August 2007 (UTC)[reply]

It doesn't actually say anywhere that the above "lossy" images aren't PNGs like the "original." I was mislead for a second, and someone who's just learning this kind of stuff will walk away thinking PNGs are lossy. Ninetigerr (talk) 05:29, 9 September 2008 (UTC)ninetigerr[reply]

Lena image, retry[edit]

I've managed to find a TIFF version of the Lena image, on one of the sites linked to from the Wikipedia article Lenna. Upon inspection, the image contains noise resultant of scanning, but no artifacts of lossy compression.

File:Lena-Original.png
Original Image (lossless PNG, 463 KiB size)
File:Lena-89less.jpg
Low Compression (93% less information, 50.6 KiB)
File:Lena-96less.jpg
Medium Compression (98% less information, 16 KiB)
File:Lena-99less.jpg
High Compression (99.5% less information, 4.34 KiB)

My prievous image (of the dog) is the best I could offer as a replacement free of licensing problems (my copyright, released under the GFDL); I don't see how I can put an image comparable to Lena in its suitability for the demonstration of lossy compression, as I can't see myself taking some person's picture and putting it on Wikipedia. I hope the choices so far give you enough room to make a decision. --Shlomital 15:18, 14 October 2005 (UTC)[reply]

The dog image is certainly a good illustration of the point. I like the Lena image because it is the standard one to use for anything to do with image processing. As for the copyright issue, Playboy stopped suing people long ago and this is, in my unlegal opinion, fair use. So, that's where I stand. :) (Perhaps "initial" is a more appropriate term than "original", but it's a minor issue). - grubber 23:40, 15 October 2005 (UTC)[reply]
I'm not greatly familiar with fair use rules but even if this can be considered a valid fair use case (which i personally doubt) and is practically safe to use due to playboy having stopped caring about it, having fair use images unnessacerally hurts the re-usability of wikipedia (and i include official or semi-official dvd or print editions in that statement).
oh and btw don't use percentages when talking about JPEG compression levels (it misleads people into thinking that the highest quality setting is lossless) and try and use a standard and freely availible encoder to make things easilly repeatable (e.g. the standard ijg cjpeg). Plugwash 01:15, 16 October 2005 (UTC)[reply]
I've used a percentage because it seems to me the only objective way of specifying JPEG settings. To prepare the images, I used IrfanView with JPEG quality setting at 85 for the first image, 30 for the second image and 5 for the third image. Now in Paintshop Pro 8 those settings would, I think, be the opposite (15, 70, 95). And even then, I can't be sure they are the same. From the JPEG FAQ: "In fact, quality scales aren't even standardized across JPEG programs. The quality settings discussed in this article apply to the free IJG JPEG software (see part 2, item 15), and to many programs based on it. Some other JPEG implementations use completely different quality scales. [...] Fortunately, this confusion doesn't prevent different implementations from exchanging JPEG files. But you do need to keep in mind that quality scales vary considerably from one JPEG-creating program to another, and that just saying 'I saved this at Q 75' doesn't mean a thing if you don't say which program you used". So I find percentages or ratios to be a more objective measure than quality setting numbers. But of course, if you think otherwise and have got IJG handy, you're welcome to re-encode from the original PNG and change the descriptions. As for the copyrights problem, IANAL either, so I leave it to others to make the choice between my free image and the doubt-raising Lena image. --Shlomital 11:09, 16 October 2005 (UTC)[reply]
I've just found out that IrfanView uses the IJG scale as it should be. It's Paintshop Pro that does it the other way round (100−IJG), while Photoshop has a completely different way of specifying JPEG quality (see [1]). So the quality settings are indeed 85, 30, 5 for each image in descending order of quality. I still doubt the objective value of the IJG scale, though. --Shlomital 14:36, 16 October 2005 (UTC)[reply]
Actually, saying "85% less information" isn't accurate (and it is my error). That implies we have lost 85% of the information, when some of the information may have been losslessly compressed, which would not change the actual information content of the image.
All I'm asking for is some objective measure of JPEG quality. If I'm convinced that the IJG scale serves as such a measure, I'll use it. By the way: by "information" here, not the casual sense is meant, but the specialised sense of the rate of bits, as in the science of information theory that Claude Shannon pioneered. --Shlomital 23:04, 16 October 2005 (UTC)[reply]
Lossless compression does not reduce information content. It's a deterministic invertible map and the entropy of deterministic invertible functions of random variables does not change. If you want to calculate the mutual information between the first image and the lossy-compressed image, you would then have a measure of the amount of information lost. But, comparing file sizes is not a measure of information loss. - grubber 01:53, 17 October 2005 (UTC)[reply]
As for the fair use idea, if we should not include a picture of Lena in this article because it taints Wikipedia, then do we remove the picture from the article about Lena too? That would seem silly, and if we keep it there, then we should keep it here for the same reason. - grubber 22:22, 16 October 2005 (UTC)[reply]
Not a legal expert's opinion, of course, but it seems to me the use of the Lena picture in Lenna is much more justifiable, much clearer a case of fair use, than its use in Lossy data compression. Because, in the Lena article the picture is about the subject of the article, and it's fair to use it there just as it's fair to, for example, use screenshots from Star Trek in the Star Trek article, out of necessity for the article. Whereas, in the Lossy Data Compression article there is nothing necessary about the Lena image; the only requirement is a series of pictures that show the effects of lossy data compression, so the use of the Lena image isn't so fair anymore. --Shlomital 17:21, 17 October 2005 (UTC)[reply]
Fair use is one of those nasty things that depends heavilly on context and varies a huge amount by country. There would indeed be some advantages to eliminating fair use images completely and some wikipedias have decided to do this en not being one of them at least for the moment. However that does not mean we should use such images where there is a reasonable alternative availible. Plugwash 22:40, 16 October 2005 (UTC)[reply]
No doubt my image is safer to use than the Lena image. The only reason I'm pondering this, and haven't changed the image on the article page, is that I don't know if it's as suitable as the Lena image for showing the effects of lossy compression (for one thing, it lacks continuous tones). On the HE Wikipedia I've included the dog image for the article. I was able to do this without hesitation because, well, I started the article. ;-) --Shlomital 23:04, 16 October 2005 (UTC)[reply]
I'm willing to concede if you all think we should scrap the Lena image. As a matter of style and a nod to image processors I think it would be nice to keep it, but it is indisputible that there are legal questions that may be at odds with Wikipedia's philosophy. The dog image serves the purpose of the article just fine. - grubber 02:00, 17 October 2005 (UTC)[reply]
I think it would be good to change the caption of those 4 compression examples (the dogs). It really made me confused. I thougth that they all are example of png compression with different levels of compression ratio. (and I told myself.. hows this possible that a lossless png image looks like low-quality jpg??? ). -- John M. 2009 —Preceding unsigned comment added by 77.48.155.3 (talk) 18:26, 12 May 2009 (UTC)[reply]

Compression[edit]

For the images in the article, the compression isn't linear is it? Isn't it rounded so that at a certain point there is not much of a difference even if it is compressed more? And that in the beginning, compression saves more than is taken. 70.111.218.254 20:21, 5 November 2006 (UTC)[reply]

Transcoding[edit]

This page really needs a mention of transcoding and a link, but I don't have the time nor knowledge to really do it justice. disastrophe 03:54, 6 November 2007 (UTC)[reply]

WTF people?[edit]

you cannot compress lost information. —Preceding unsigned comment added by 88.218.156.7 (talk) 05:41, 27 October 2009 (UTC)[reply]

Lossy "COMPRESSION"[edit]

I've always hated the term "lossy compression" but for some reason it stuck. Throwing information away to get a smaller file size is not the same as compressing it. The algorithms involved may be just as intensive but the overall result is not the same, so the term is a misnomer. If I were to take a foam ball in hand and squeaze it to make it smaller that would be true compression. Release the hand and the ball returns to its ORIGINAL size. If I carve the ball down all I have is a smaller ball. Each ending result has its own advantages but loss of any kind should not be associated with compression. — Preceding unsigned comment added by Drake5150 (talkcontribs) 22:39, 13 November 2011 (UTC)[reply]

Talk pages aren't the place for personal opinions but I'd note that when words carry over into different domains, their meanings often change in subtle ways. More importantly, the idea that compression in the physical world always means the item can return to its original state doesn't seem to be supported by the common definition of the term. Our own article Compression (physics) current version says

When put under compression (or any other type of stress), every material will suffer some deformation, even if imperceptible, that causes the average relative positions of its atoms and molecules to change. The deformation may be permanent, or may be reversed when the compression forces disappear. In the latter case, the deformation gives rise to reaction forces that oppose the compression forces, and may eventually balance them.

Nil Einne (talk) 16:00, 13 December 2022 (UTC)[reply]

Transform coding[edit]

I appreciate the inclusion of transform coding and understand the relevance of perceptual data vs actual data. That being said, ANY data that is discarded is ONLY a reduction in file size. I'm not knocking the result...but can we change the name to something else ? — Preceding unsigned comment added by Drake5150 (talkcontribs) 23:22, 13 November 2011 (UTC)[reply]

Dog images look wrong[edit]

Something looks wrong about the dog images. The Low compression picture is blurrier than the Medium compression image. For instance, on the left of the image, the background green has blurry brown spots in the "low" setting but clear brown spots in the original and the medium. Also on the left of the picture, the grey tufts on the dogs ear are clear strands in the original and medium image, but just a blur on the low compression image. It looks like the medium and low have been mixed up. — Preceding unsigned comment added by 202.89.177.154 (talk) 14:52, 1 August 2012 (UTC)[reply]

Initially, I thought the pictures were accidentally swapped, but it appears that the low compression picture is of a lower resolution than the medium compression image, causing it to appear blurry when stretched. --37.251.25.20 (talk) 19:49, 11 August 2012 (UTC)[reply]
Each of the images should be a different level of compression of the same original image. The fact that two different resolutions are being used only makes things confusing. I also came to here to mention the fact that the images appeared swapped. However, it seems more significant updating is needed. Golmschenk (talk) 17:34, 10 October 2012 (UTC)[reply]

Amiga HAM isn't lossy compression[edit]

Can we remove the Amiga HAM (Hold and Modify) reference? HAM is not a compression format lossy or otherwise: it's a screen display mode aimed at overcoming early Amiga computer hardware limitations in showing more than 32 (or 256) colours simultaneously. HAM pictures were IFF-ILBM, which used lossless runlength encoding.

Converting a truecolour picture to HAM did indeed lose information, but technically so does converting it to less colours or less size. I wouldn't call this lossy compression, because it isn't compression. Opinions?

External links modified[edit]

Hello fellow Wikipedians,

I have just modified one external link on Lossy compression. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:

When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.

This message was posted before February 2018. After February 2018, "External links modified" talk page sections are no longer generated or monitored by InternetArchiveBot. No special action is required regarding these talk page notices, other than regular verification using the archive tool instructions below. Editors have permission to delete these "External links modified" talk page sections if they want to de-clutter talk pages, but see the RfC before doing mass systematic removals. This message is updated dynamically through the template {{source check}} (last update: 5 June 2024).

Cheers.—InternetArchiveBot (Report bug) 13:45, 6 January 2018 (UTC)[reply]


Retrieved from "https://en.wikipedia.org/w/index.php?title=Talk:Lossy_compression&oldid=1208590451"

Categories: 
Start-Class Computer science articles
High-importance Computer science articles
WikiProject Computer science articles
Start-Class Computing articles
Mid-importance Computing articles
All Computing articles
Start-Class Internet articles
Mid-importance Internet articles
WikiProject Internet articles
Hidden category: 
Pages with missing files
 



This page was last edited on 18 February 2024, at 03:40 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki