Manipulate WebP images in Python

前端 未结 2 603
抹茶落季
抹茶落季 2021-02-07 17:50

I\'m looking for something like PIL (Python Imaging Library), which sadly doesn\'t support WebP images.

I\'d like to be able to do resizes and crops. Or at least convert

2条回答
  •  無奈伤痛
    2021-02-07 18:04

    imagemagick's convert tool, version 6.5.7-8 or better, can manipulate WebP images.

    Also, Google provides an encoder and decoder for Linux, Windows and Mac OS X.

提交回复
热议问题