Additional features in dwebp

87 views
Skip to first unread message

Sam

unread,
Apr 2, 2019, 8:15:12 AM4/2/19
to WebP Discussion
Hi all!

I'm interested in contributing additional features to the dwebp tool, but wanted to check first whether these would be welcome contributions.

Specifically, the following three features would be useful to me:

1. Allow specifying webp as an output format. This would allow me to use dwebp as a tool for converting between different types of webp encodings (e.g. lossless to lossy).
2. Allow specifying jpeg as an output format.
3. Allow specifying a background color for blending when converting to non-alpha color modes, rather than just discarding the alpha channel.

Please let me know what you think!

Cheers,
Sam

Pascal Massimino

unread,
Apr 2, 2019, 10:30:36 AM4/2/19
to WebP Discussion
Hi Sam,

On Tue, Apr 2, 2019 at 2:15 PM Sam <re...@awesam.de> wrote:
Hi all!

I'm interested in contributing additional features to the dwebp tool, but wanted to check first whether these would be welcome contributions.

thanks for your interest!
 

Specifically, the following three features would be useful to me:

1. Allow specifying webp as an output format. This would allow me to use dwebp as a tool for converting between different types of webp encodings (e.g. lossless to lossy).

This operation can be done by 'cwebp'. dwebp is just a decoding tool, not encoding.
 
2. Allow specifying jpeg as an output format.

By design, we avoided any lossy output format for 'dwebp', to make sure one gets the exact pixels from the WebP format.
Transcoding to jpeg can easily be done from dwebp's output as png or ppm (using libjpeg or ImageMagick for instance).

 
3. Allow specifying a background color for blending when converting to non-alpha color modes, rather than just discarding the alpha channel.

Here too, i'm not sure it's worth the complexity, since this can be done easily by the ImageMagick tools, e.g.
cwebp has a '-blend_alpha' option for doing that, even.

hope it helps,
skal/



Please let me know what you think!

Cheers,
Sam

--
You received this message because you are subscribed to the Google Groups "WebP Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webp-discuss...@webmproject.org.
To post to this group, send email to webp-d...@webmproject.org.
Visit this group at https://groups.google.com/a/webmproject.org/group/webp-discuss/.
For more options, visit https://groups.google.com/a/webmproject.org/d/optout.
Reply all
Reply to author
Forward
0 new messages