【文件属性】:
文件名称:py-super-xbr:将Super-xBR像素艺术缩放算法移植到Python
文件大小:154KB
文件格式:ZIP
更新时间:2021-02-05 22:36:53
python pixel-art cython image-scaling PixelArtPython
py-super-xbr
作为Python模块和命令行工具实现的。
例子
Fawful(Mario&Luigi:Superstar Saga)缩放了2倍()
痛苦(洞穴故事)缩放4倍()
要求
Python 3.6或更高版本。 这已经在Windows和Linux上进行了测试,但是也可以在macOS上使用。
安装
该文件尚未上传到PyPI,因此您必须从源代码构建和安装它。
将此存储库克隆到您的系统
打开终端并转到存储库的目录
运行pip install .
用法
从命令行
将Super-xBR高档滤镜应用于图像INPUT并将其保存到OUTPUT :
superxbr [OPTIONS]
【文件预览】:
py-super-xbr-master
----.gitignore(2KB)
----README.md(3KB)
----examples()
--------misery_4x_superxbr.png(33KB)
--------fawful_2x_nearest.png(2KB)
--------misery_original.png(1KB)
--------fawful_2x_superxbr.png(14KB)
--------fawful_original.png(2KB)
--------misery_4x_nearest.png(2KB)
----requirements.txt(80B)
----LICENSE.txt(2KB)
----superxbr()
--------superxbr.c(868KB)
--------__init__.py(0B)
--------__main__.py(2KB)
--------superxbr.pyx(17KB)
----setup.py(794B)