Skip to main content

九宫格图片分割,最简单的Python图像分割工具。

Project description

Gongge

九宫格图片分割,最简单的Python图像分割工具。

特点

  • 默认九宫格分割模式
    • 支持自定义设置分割数量
  • 支持分割图像预览
  • 默认保存到本地文件夹,包括预览图像

安装说明

pip install Gongge

调用说明

默认生成九格

import Gongge

Gongge.split("test.jpg")

设置参数size修改生成格数

import Gongge

Gongge.split("test.jpg", size=2)

效果展示

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

Gongge-0.0.4.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file Gongge-0.0.4.tar.gz.

File metadata

  • Download URL: Gongge-0.0.4.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for Gongge-0.0.4.tar.gz
Algorithm Hash digest
SHA256 1157872d35a3193ffc27142144f3a25dc183972352b32eeef0316236fe299dd6
MD5 6c2fa4b6deac8ec5a165cc1824f25db6
BLAKE2b-256 61ffbcd30b21be1675e02b0add9d158ccdd875a71561cb4ef33a9c44fe641b58

See more details on using hashes here.

Supported by

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