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.2.tar.gz (2.6 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: Gongge-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 ba2d521c670de13ef22b2e3f48ba85ae48dbb3f79241dc24facf85e64550d1a7
MD5 bbcfc1924fc22161eb6c92fe67a8c084
BLAKE2b-256 0ae41a6c2838b5454dadc57c330c2b63a96b7b18bdd4e68f0cdc0d44201bac53

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