New image format BPG -- something for ImageMagick to support?

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
pipitas
Posts: 168
Joined: 2012-07-15T14:06:46-07:00
Authentication code: 15

New image format BPG -- something for ImageMagick to support?

Post by pipitas »

There is a new image file format named BPG ("Better Portable Graphics"), developed by Fabrice Bellard (famous for QEMU amongst other things). It supports metadata, alpha channel as well as animations. Here are some infos: Here is the spec: Here are a few visual comparisons of the Lena and other images:
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: New image format BPG -- something for ImageMagick to support?

Post by fmw42 »

What is with the weird coloration images?

Never mind, it seems to be an issue with my Mac Snow Leopard version of Safari. Firefox and Chrome work fine.
RyanBram
Posts: 30
Joined: 2013-03-25T22:55:10-07:00
Authentication code: 6789

Re: New image format BPG -- something for ImageMagick to support?

Post by RyanBram »

Vote +1 for this format.
I am very curious to see it supported in ImageMagick. Every feature of it : Lossy, lossless, alpha transparency, animation, RGB, CMYK, etc.

Regards
OS: Windows 7 Ultimate, 32-Bit
CPU: Intel Core i3 2350M @ 2.30GHz
RAM: 2.00 GB Single-Channel DDR3 @ 665MHz
IM Version: 6.8.3-8 2013-03-04 Q16
Features: DPC OpenMP
Delegates: bzlib fontconfig freetype jng jp2 jpeg lcms lzma pango png ps tiff x xml zlib
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: New image format BPG -- something for ImageMagick to support?

Post by dlemstra »

We found the following in the README of libbpg:

Code: Select all

5) BPG decoding library
-----------------------

BPG images can be decoded in any program with the libbpg
library.

The API is not considered stable yet so that the library is only
provided as a static one.
We won't link with the library until this has been resoled. But we could use the binary for now. I will try to see if we can add that to the Windows release before the next release. I think the unix/linux release already does that.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: New image format BPG -- something for ImageMagick to support?

Post by magick »

The current release of ImageMagick can process BPG images under Linux if the BPG binaries are installed.
pipitas
Posts: 168
Joined: 2012-07-15T14:06:46-07:00
Authentication code: 15

Re: New image format BPG -- something for ImageMagick to support?

Post by pipitas »

magick wrote:The current release of ImageMagick can process BPG images under Linux if the BPG binaries are installed.
That was fast!

Thnk you very much :D

(I assume with "current release" you mean v6.9.0-5 to be released sometime soon -- not the v6.9.0-4 released 2015-01-16?)

BTW, your last couple of dates in the ChangeLog (here: http://www.imagemagick.org/script/changelog.php) have the wrong year: they say 2014 where 2015 should be.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: New image format BPG -- something for ImageMagick to support?

Post by magick »

Will fix ChangeLog. BPG is supported in the current release 6.9.0-4.
Post Reply