Skip to main content

图片合成 API

Project description

pic: Python Image Composition用 Python 实现图片合成
==============================

海报生成API,基于 PIL,全面优化接口,更有 Python 范儿。


用来干啥
----------------

一些常见的场景

* 宣传海报自定义合成
* ... [1]_

总而言之,可用来实现各种图片合成

.. [1] 想怎么合就怎么合


轻松安装
----------------

**pic 适合任意版本python

可以通过以下方式安装

1. 从 PYPI 官方源下载安装 (在国内使用可能比较慢或不稳定)::

pip install -U PIC

简单上手
----------------


登陆微信::

# 导入模块
from PIC import *
# 初始化机器人,扫码登陆
poster = Poster()

添加图片::

res = poster.add_img()

添加文案::

poster.add_text()

保存::

poster.save()

模块特色
----------------


说明文档
----------------

http://pic.readthedocs.io

项目主页
----------------

http://github.com/DxqS/PIC


--------

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PIC-0.1.0.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file PIC-0.1.0.tar.gz.

File metadata

  • Download URL: PIC-0.1.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PIC-0.1.0.tar.gz
Algorithm Hash digest
SHA256 292fc41b3844ee0a85b1173d8241cdafad4cd7d268ff2a17904c31c5a2fba2eb
MD5 21a291973287150fb7fdb4415c370993
BLAKE2b-256 651937140136887158daa9bbfda19f61a3a6cecc7ee5cdbb8c985712d5f3705e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page