An image format "BPG" capable of displaying images of the same quality with about half the file size of the JPEG image was born, and when actually used it looks like this



Compared to JPEG images of the same quality, the new image format that can reduce the file size to about half or less is "BPG"so,FFmpegAnd Linux that runs only with JavaScript "JSLinux"Fabrice Bellard developed an image format developed by Mr. Fabrice Bellard. It's not only that it's light in size, but it's not just a light gray scale, YCbCr = 4: 2: 0 - 4: 2: 2 - 4: 4: 4 - RGB - YCgCo - CMYKColor spaceSupport,Alpha channelYaLossless compressionIt also corresponds.

BPG Image format
http://bellard.org/bpg/


The following page can compare how much BPG is superior to other image formats. Images of the same file size are displayed in two kinds of image formats, and "MozjpegComparing the same images with BPG, the clarity of the BPG image stands out.

BPG Image Comparison


Furthermore, on the following page, BPG images and JPEG images of the same file size (JPEG images compressed using the techniques of mozjpeg and jpegcrush) are compared side by side, and when comparing the image of about 5800 B, the BPG image is low It is clear that the file size is also high definition.

BPG / JPEG comparison on the Lena picture


Besides BPG imagesAlpha channelAnd variousColor spaceThe image when adopting and encoding is also released.

If you actually want to create your own BPG format images or convert BPG format images to other formats,BPG Image formatClick "bpg-0.9.3-win32.zip" from the page of "


And "bpg-0.9.3 - win32.zip"ExplzhUnzip using software such as.


When opening a folder it looks something like this.


To convert files Launch the command prompt by typing "cmd" in the Windows start menu.


And when unpacking "bpg - 0.9.3 - win 32. zip" it opens the folder "bpg - 0.9.3 - win32" created at the command prompt ......


Enter "dir". Then the files and folders saved in "bpg - 0.9.3 - win32" are displayed.


Next, save the image you want to convert to BPG image in "bpg - 0.9.3 - win32".


The JPG image whose file size is 29 KB converts to the BPG image this time.


At the command prompt, enter "bpgenc.exe (encoder for converting image format to BPG) 00_m.jpg (file name of image to be converted to BPG image)" and press the Enter key.


Then, the BPG file "out.bpg" was output. Since the file size is 12 KB, you can see that it is less than half the file size of the original JPEG image.


To see how the output BPG file looks, it is necessary to have a BPG compatible image viewer, but such a viewer does not exist at the moment. However, since BPG files can be browsed from most web browsers simply by using simple JavaScript, I will use this to check them. Open the "html" folder in the "bpg - 0.9.3 - win32" folder, save the JPEG image converted to the BPG image and the BPG image outputted earlier, and create the following HTML file .

[code]










JPEG





BPG






[/ Code]

And when opening the HTML file with the browser ......


You can see the BPG image that you output like this. The top image is a JPEG image and the bottom is a BPG image. It is surprising since the file size is kept to less than half of the JPEG image even though JPEG images are compared at a level where it is completely unknown whether there is a difference or not.


JPEG images converted to BPG images in this article have already been compressed to some extent but when converting JPEG images with a compression ratio of 100% to BPG images the file size has been reduced to 1/10 or less .

in Review,   Software, Posted by logu_ii