强化图像的工具。

python-intensifies的Python项目详细描述


python增强

说明

增强图像的命令行工具。也就是说,它会打开一个文件并使劲摇晃它。主要用于模因。

要求

差不多是Python3.5+,枕头5.4.1。setup.py应该为您安装它。

安装

$ pip install python-intensifies

用法:

$ intensify -h

usage: intensify [-h] [-i IMAGE] [-o OUTPUT] [-s MAX_LENGTH] [-w WIGGLE_LEVEL]
				 [-f FPS]

optional arguments:
  -h, --help            show this help message and exit
  -i IMAGE, --image IMAGE
						The image to be INTENSIFIED. Defaults to setup.py
  -o OUTPUT, --output OUTPUT
						The filename to which the output should be saved. Must
						end in ".gif"
  -s MAX_LENGTH, --max_length MAX_LENGTH
						The output will have dimensions no bigger than this
						value.
  -w WIGGLE_LEVEL, --wiggle_level WIGGLE_LEVEL
						Amount of shaking on a scale of 0 to 1.
  -f FPS, --fps FPS     Frame rate of the output in frames per second. Max is
						50.

$ intensify -i python.jpg -w .25 -o danger_noodle.gif

更改日志

0.0.3 - 0.0.4:
    * If you're reading this, you can now install this via pypi.
0.0.2 - 0.0.3:
    * Re-added the FPS parameter I forgot to document removing. Initially it was because Pillow is limited in framerates it can animate, but turns out it's very useful for reducing filesize of emojis.
0.0.1 - 0.0.2:
    * Transparency AND animation is now supported for .gif files used as input.
    * MoviePy, (and by extension, imageio, tqdm, and a copy of ffmpeg) are no longer dependencies.
    * No need for a folder as a package, setup.py just installs a single module now.

注释

* Transparency for .png files used as input is not supported.

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java为什么整数构造函数方法不再需要属性?   java单函数从广播接收器检索数据   Java类中的Scala设置器和获取器   JAVA MVC表选择的行ID和mysql db ID不同   java在Multimaps Guava中获取值   jakarta ee Intellij IDEA Java类在保存时不自动编译   java在另一个Spring实体中使用Spring实体   JTwitter库的安卓类一直在给我java。朗朗:温特韦尔。杰特维特。啁啾   java停止启动应用程序   java Jersey测试NoSuchMethodError   java如何处理合成元素上的注释   java崩溃shell无法通过ssh连接   java计算两个日期之间的天数后(取自edittext)如何在新的edittext中显示天数