Nonebot2 简单图片操作插件
Project description
nonebot-plugin-imagetools
Nonebot2 插件,用于一些简单图片操作
安装
- 使用 nb-cli
nb plugin install nonebot_plugin_imagetools
- 使用 pip
pip install nonebot_plugin_imagetools
使用
以下命令需要加命令前缀 (默认为/
),可自行设置为空
操作名 + [图片] 或 回复图片
支持的操作
- 水平翻转/左翻/右翻
- 竖直翻转/上翻/下翻
- 旋转 + 角度
- 缩放 + 尺寸或百分比,如:
缩放 100x100
;缩放 200x
;缩放 150%
- 裁剪 + 尺寸或比例,如:
裁剪 100x100
;裁剪 2:1
- 反相/反色
- 轮廓
- 浮雕
- 模糊
- 锐化
- 像素化 + 像素尺寸,默认为 8
- 颜色滤镜 + 16进制颜色代码 或 颜色名称,如:
颜色滤镜 #66ccff
;颜色滤镜 green
- 纯色图 + 16进制颜色代码 或 颜色名称
- gif倒放/倒放
- gif分解
- 九宫格
- 文字转图 + 文字,支持少量BBcode
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for nonebot_plugin_imagetools-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fb39c922fe004add4c4c7fd8766f1d8eb58a33225da5575fc447869f75cfc1a |
|
MD5 | a5d0a504ce0f40129b0dd6f75ff7099c |
|
BLAKE2b-256 | 21b6435d33f4ee50083753c5eccaa225c5dbbb2abf0a2500c750c3b31a5efcc9 |
Close
Hashes for nonebot_plugin_imagetools-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa5a3bc58ad3172f9e2da8df51d1e26eaf2b84a33390c6b61dea1b9ddb68cd25 |
|
MD5 | 51df2bb02551b1ff2ac6bdc8a0081e1c |
|
BLAKE2b-256 | 1641e427e1ce14f078467b165f934040017ca83d385f63268de99744be189e58 |