Skip to main content

一个往图片上写汉字的软件包

Project description

这是一个字库软件包

使用方法:

import ziku
import cv2
ziku.size(0.4)
img=cv2.imread("src/ziku/earthmap.png")
img=ziku.write(img,"太阳当空照",x=100,y=100)

ziku.size(0.6)
img=ziku.write(img,"花儿对我笑",x=100,y=200)
cv2.imwrite("ziku.png",img)

ziku.size(0.8)
img=ziku.write(img,"小鸟说 早早早",x=100,y=300)
cv2.imwrite("ziku.png",img)

ziku.size(1)
img=ziku.write(img,"你为什么背上大书包",x=100,y=400)
cv2.imwrite("ziku.png",img)

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

ziku-0.1.2.tar.gz (8.6 MB view details)

Uploaded Source

Built Distribution

ziku-0.1.2-py3-none-any.whl (12.7 MB view details)

Uploaded Python 3

File details

Details for the file ziku-0.1.2.tar.gz.

File metadata

  • Download URL: ziku-0.1.2.tar.gz
  • Upload date:
  • Size: 8.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.5

File hashes

Hashes for ziku-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0473ec82f1877069fd93bf3643ba93007dcdca99dfa42607b34fd62da8d402ff
MD5 39ea6288a92303937b517b479e940fa8
BLAKE2b-256 f8cc9dc017f3fbe519f95545523fecf6710e9a858ad4e8242c12e1693b82a4c8

See more details on using hashes here.

File details

Details for the file ziku-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: ziku-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 12.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.5

File hashes

Hashes for ziku-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3454a999b174c5ebfd5839c35fac17feb016d8872928eefbb93bacea0b3d197c
MD5 c09ca472131ac30eb4cd253647cbdccb
BLAKE2b-256 dc564cf3ea01388a60fc27d487efb7f5ae6e967c2052317d5c0b3bc28929be28

See more details on using hashes here.

Supported by

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