Python Imaging Library save function syntax

前端 未结 2 1433
悲&欢浪女
悲&欢浪女 2021-02-05 15:39

Simple one I think but essentially I need to know what the syntax is for the save function on the PIL. The help is really vague and I can\'t find anything online. Any help\'d be

2条回答
  •  借酒劲吻你
    2021-02-05 16:06

    Image.save(filename[, format[, options]]). You can usually just use Image.save(filename) since it automatically figures out the file type for you from the extension.

提交回复
热议问题