I've been reading today about the BPG format, that is intended as an alternative for Jpeg. It's from Fabrice Bellard, creator of FFMpeg and QEMU.
It sounds pretty interesting:
- lossy and lossless compression
- alpha channel
- RGB, YCbCr (jpeg style), YCgCo, greyscale and CMYK
- 8 to 14 bit per channel
It uses the frame encoding of the HEVC video codec.
At the same file size, BPG is much higher quality than Jpeg: (this pic was just under 6KB in both formats)
Jpeg:
BPG:
The encoder and decoder are BSD licensed. (Although the decoder requires an LGPL licensed ffmpeg)
There's also a decoder that's written in javascript and lets you view the format online.
I wonder how the performance of decoding compares?
http://bellard.org/bpg
BPG image format
- Kojack
- OGRE Moderator
- Posts: 7157
- Joined: Sun Jan 25, 2004 7:35 am
- Location: Brisbane, Australia
- x 534
- c6burns
- Beholder
- Posts: 1512
- Joined: Fri Feb 22, 2013 4:44 am
- Location: Deep behind enemy lines
- x 138
Re: BPG image format
Wow that's pretty cool. I like that it supports alpha. If it's an avcodec then that's a pretty trivial interface. Basically it just has encode and decode routines (or encode2 or encode19 or whatever they are up to now)Kojack wrote:Although the decoder requires an LGPL licensed ffmpeg