Python PIL可以根据源形状转换图像

时间:2018-02-10 12:19:02

标签: python image python-imaging-library

我正在开发一个tshirt模型构建器,我想根据源形状转换图像。是否有任何可以轻松实现此功能的PIL功能,或者我应该为其构建自定义代码。

例如:如果我提供如下的源形状

enter image description here

程序应自动转换输入图像

enter image description here

enter image description here

0 个答案:

没有答案