WebP support

"Nils Wagner" <nwagner@...1052...> writes:

just curious - is the WebP format supported by matplotlib

No. It seems to be a method for lossy compression of photographs and
therefore not likely to be useful for line drawings - or what did you
have in mind?

···

--
Jouni K. Sepp�nen
http://www.iki.fi/jks

And yet, we still allow for saving to jpegs. Also, matplotlib is also able to do imshow(), pcolor() and other rasterized drawings, so we aren’t restricted to just line drawings.

Nils, the answer is “no, we don’t support webp – yet”. There is no reason why we can’t eventually do so, and patches will always be welcomed. I just wouldn’t expect it anytime soon.

Ben Root

···

On Sat, Oct 2, 2010 at 7:28 AM, Jouni K. Seppänen <jks@…397…> wrote:

“Nils Wagner” <nwagner@…1052…> writes:

just curious - is the WebP format supported by matplotlib

No. It seems to be a method for lossy compression of photographs and

therefore not likely to be useful for line drawings - or what did you

have in mind?

Jouni K. Seppänen

http://www.iki.fi/jks

Only some of the non-agg backends support saving to jpegs. Whenever
someone posts to the list asking why jpegs are not supported, the
answer is that, aside from not being supported by agg, lossy formats
like jpeg are a poor choice for saving line art.

Darren

···

On Sat, Oct 2, 2010 at 11:58 AM, Benjamin Root <ben.root@...1304...> wrote:

On Sat, Oct 2, 2010 at 7:28 AM, Jouni K. Seppänen <jks@...397...> wrote:

"Nils Wagner" <nwagner@...1052...> writes:

> just curious - is the WebP format supported by matplotlib

No. It seems to be a method for lossy compression of photographs and
therefore not likely to be useful for line drawings - or what did you
have in mind?

And yet, we still allow for saving to jpegs.

Heh, I never noticed that. On this computer, I use TkAgg, and it worked just fine. Admittedly, I haven’t tried this out much because I usually use png or one of the vector-based formats.

Ben Root

···

On Sat, Oct 2, 2010 at 11:54 AM, Darren Dale <dsdale24@…287…> wrote:

On Sat, Oct 2, 2010 at 11:58 AM, Benjamin Root <ben.root@…1304…> wrote:

On Sat, Oct 2, 2010 at 7:28 AM, Jouni K. Seppänen <jks@…397…> wrote:

“Nils Wagner” <nwagner@…1052…> writes:

just curious - is the WebP format supported by matplotlib

No. It seems to be a method for lossy compression of photographs and

therefore not likely to be useful for line drawings - or what did you

have in mind?

And yet, we still allow for saving to jpegs.

Only some of the non-agg backends support saving to jpegs. Whenever

someone posts to the list asking why jpegs are not supported, the

answer is that, aside from not being supported by agg, lossy formats

like jpeg are a poor choice for saving line art.