11

I think somebody heard something about a new format of images - BPG. Can i handle it on Android, any ideas?

PS: BPG is really interesting format, for example, just checkout difference with jpeg

UPDATE another examples of difference here and here

  • Can you clarify what you mean by "handle it"? Are you trying to write code to decode and display it yourself? – pjco Feb 11 '15 at 06:27
  • 1
    @pjco, Yes, by "handle it" i meant to decode and display image. –  Feb 11 '15 at 06:32

2 Answers2

5

The BPG format is not supported by Android natively.

I've made a small application for Android that decompresses BPG images. You can have a look here: https://github.com/alexandruc/android-bpg, maybe you can reuse some of the code.

For use in the browser, there is a javascript decoder available in the source package.

Alexandru C.
  • 3,337
  • 1
  • 25
  • 27
0

I don't think this format is supported, yet, according to the Supported Media Formats

But you should give it a try.

Note: If you meant browser support, you should update your question to let everybody know it.

Edit: After some tests, I couldn't manage to make it work, even on Lollipop.

Conclusion, it is not supported, yet.

Gorcyn
  • 2,807
  • 1
  • 20
  • 22
  • No, i mean no browser, but media format. As just image format "from box" it not supported, yes, but this format based on HEVC, which supported by Android. So maybe it's possible to implement supporting of this format? –  Jan 29 '15 at 13:08
  • @Gorcyn, did you manage to compile the BPG library for Android? – Ionut Negru May 26 '15 at 08:12