0

Sometimes png pictures contain redundant alpha channel. While this is usually not an issue, for libbpg it triggers more complicated mode which is not compatible with fast x265 encoding or with decoding by old libbpg decoder.

WebP command line encoder, for example, contains -noalpha option to explicity discard transparency infromation. How do I do the same for bpgenc?

1 Answer 1

0

Apply my patch to libbpg: https://gist.github.com/vi/f42e466c9744371b0c2e

After that -noalpha option should become available, turning transparency in PNG images into black background and enabling -e x265.

1
  • (I've already tried submitting the patch upstream, but got no reply)
    – Vi.
    Sep 3, 2015 at 17:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .