Skip to main content

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

Project description

Gongge

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

特点

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

安装说明

pip install Gongge

调用说明

test.jpg

默认生成九格

import Gongge

Gongge.split("test.jpg")

test-9.jpg

设置参数size修改生成格数

import Gongge

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

test-4.jpg

效果展示

test-16.jpg

test-25.jpg

test-36.jpg

test-49.jpg

test-64.jpg

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

Uploaded Source

File details

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

File metadata

  • Download URL: Gongge-0.0.7.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.7.tar.gz
Algorithm Hash digest
SHA256 6756fd935b38ff126ea23bf02b97180a78fce8f316fab934f1bc7fadf7ce19a1
MD5 97e75c0103fdb3addfe833b98aa6d606
BLAKE2b-256 5d7fd48566e0d3ce3aa7457d4cf602b84a15e0ca1334ebea53e34359bbf99772

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