O'Reilly logo

Moodle 2.5 Multimedia Cookbook by Silvina P. Hillar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Selecting between lossy and lossless compression schemes

When we save a bitmap image, we can choose between lossy and lossless compression schemes to reduce the file size that stores the color information for each pixel that composes the bitmap.

Lossless compression schemes retain all the original color information; therefore, they keep the original quality but produce a large file size. On the other hand, lossy compression schemes replace some color information with approximated values to produce a smaller file size. Thus, lossy compression schemes don't keep the original quality.

In this recipe, we will learn how to choose between one scheme over the other—the smaller size is not the only thing that matters.

Getting ready

We are going to capture ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required