Support for BPG image format

Ideas for improvements and requests for new features in XnView MP

Moderators: helmut, XnTriq, xnview

Post Reply
djcj
Posts: 60
Joined: Wed Jan 08, 2014 3:37 pm

Support for BPG image format

Post by djcj »

BPG (Better Portable Graphics) is a new image format, "based on a subset of the HEVC open video compression standard".
The source code for the decoding library is available at http://bellard.org/bpg/ .

You can compile a static library (or with some modification a shared library) from it which would be licensed under the LGPL v2.1 (it uses code from ffmpeg), so I assume using it in proprietary software won't be a problem (?). Otherwise a command line decoding tool or a javascript decoding library could be used too. Prebuild command line tools for decoding and encoding .bpg are available for Windows, for OSX and Linux you'd have to compile them yourself. Be aware that it requires libpng15 or higher (the available libpng12 on Ubuntu and Debian is too old).

It would be great if XnViewMP would support it, since this format seems to be very promising.
Here's a comparison between JPEG and BPG: http://bellard.org/bpg/lena.html
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Support for BPG image format

Post by XnTriq »

Post Reply