Step 3

Step 4

WebP is an image format developed by Google in 2010. The format allows users to save an image in either lossy or lossless format. Google has made bold claims about the compression efficiency of the format stating that it can be up to 34% smaller than the equivalent JPEG or PNG file. Google believes that through the adoption of a more efficient image format, the speed of the web as a whole can be increased due to the volume of images being viewed at any one time across the world.

WebP lossy compression works by a technique of prediction. Each block of pixels are predicted based on other blocks of pixels surrounding it. The difference between the prediction and reality is then encoded. Due to the efficiency of the prediction technique many of the blocks contain a zero difference which results in greater compression and thus a smaller file size. WebP lossless compression works by using parts of the image that have already been analysed to construct other parts of the image.

BMP is a standard image file format which was historically used by computers running the Windows operating system. The format is more commonly know as Bitmap files. The term bitmap was originally coined in computer programming to refer to a map of bits. Historically when you saved an image on your home PC you might have saved it as a .bhp file, this is becoming less common with .jpeg the preferred image file format with the advent of digital cameras.

Bitmap files are housed in a device-independent bitmap (DIB) format. The term device independent means that the bitmap specifies pixel color in a form independent of the method used by a display to represent color. This enables Windows to show the bitmap on any type of display device - such as your monitor.