What is BPG format?
Its purpose is to replace the JPEG image format when quality or file size is an issue.
http://bellard.org/bpg/
Supported image viewers:
- XnView / XnViewMP
- Susie
- Imagine
Features:
- BPG read
- BPG write (XnView, XnViewMP)
- Multi-thread support
Not supported:
- x64 (under development)
- YCgCo / CMYK colorspace
- Grayscale with limited component range
- Premultiplied alpha
- Writing 8-bit colour / 32-bit source images
- Animation
- Download
BPG-xnview-XXXX.7z
from Releases - Extract files into
[program dir]\Plugins
- Rename or delete
[program dir]\Plugins\bpgdec.exe
- Download
BPG-dll-XXXX.7z
- Extract files into
[program dir]
(along with xnview.exe) - Edit
[program dir]\Plugins\Xbpg.ini
to change encoding options
- Download
BPG-xnview-XXXX.7z
from Releases - Extract files into
[program dir]\plugins
- Rename or delete
[program dir]\plugins\bpgdec.exe
- Check if
avutil-55.dll
&swscale-4.dll
exist in[program dir]
- If not, download
BPG-dll-XXXX.7z
& extract files into[program dir]
(along with xnviewmp.exe)
- If not, download
- Edit
[program dir]\plugins\Xbpg.ini
to change encoding options
http://www.digitalpad.co.jp/~takechin/
- Download
BPG-susie-XXXX.7z
from Releases - Extract files into the plugin directory of your image viewers
- Download
BPG-dll-XXXX.7z
- Extract files into the directory where the *.exe file exists
http://www.nyam.pe.kr/blog/entry/Imagine
- Download
BPG-imagine-XXXX.7z
from Releases - Extract files into
[program dir]\Plugin
- Download
BPG-dll-XXXX.7z
- Extract files into
[program dir]
(along with Imagine.exe)
Most of image viewers have no GUI for user plugins, so you need a file to set encoding options.
You can specify different options for 8-bit & 24-bit images.
The line started with 24:
indicates the options for 24-bit images, and 8:
for 8-bit images.
Supported options (see: bpgenc):
-q (0~51)
set quantizer parameter (smaller gives better quality, default=29
)-f (420|422|444)
set the preferred chroma format (default=420
)-loseless
enable lossless mode (default=off)-m (1~9)
select the compression level (1=fast, 9=slow, default=8
)
Example:
8:-q 30
24:-q 25
-
MinGW
-
libbpg
- http://bellard.org/bpg/
- v0.9.7
-
libx265
- http://x265.org/
- V2.5
-
ffmpeg
- https://ffmpeg.org/
- v3.4