![]() ![]() If you could somehow reconstruct it, then you'd have a lossless compression algorithm, not a lossy one. ![]() There can't be, because the data that got thrown out during the lossy compression phase is gone. As with lossless decompression, it wouldn't matter even if it did happen during these times, because it's lossleess. Not when it's closed, and not even when it's saved. Lossless decompression happens whenever the file is opened, but not at any other time. The main difference is that even if it happened when the file was closed without saving, it wouldn't matter, because it's lossless. Lossless compression also happens only when the file is saved. Some editors may refuse to save JPEG files that haven't been edited, to avoid accidentally triggering lossless compression, but I don't know off the top of my head whether or not any editors actually do that. However, just closing the file is not enough to trigger lossy compression: you have to save it. ![]() This is the part that causes loss of quality. Lossy compression happens only when the file is saved. This isn't so much because it helps understanding what's going on, but because it helps to understand where the common mistakes come from. Understanding the difference between them is important to this question. JPEG compression can be described as having two distinct phases: first a lossy phase, then a lossless phase. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |