Glitchify static images to glitched images and GIFs

栏目: IT技术 · 发布时间: 4年前

内容简介:Create glitched images and GIFs, with highly customizable options!A commandline tool +

glitch-this!

Create glitched images and GIFs, with highly customizable options!

A commandline tool + python library to glitchify images and even make GIFs out of them! Featuring 10 different levels of glitching intensity ! The algorithm used to create glitched images is a slightly modifed version of the popular ImageGlitcher tool's algorithm, so you can expect the glitched images to look really cool!

NOW EASIER THAN EVER TO USE! Check out the docs !

If you like using this tool, please consider starring on Github !

Glitchify static images to glitched images and GIFs

What are you waiting for? Import the library and get glitching!

NOTE: Works best with RGB/RGBA images

What others have to say ~

Changelog

View the changelog here

FEATURES!

  • Choose from 10 gradually different levels of glitching intensity ! Want just a tiny bit of glitching, enough to make your image look cool? - use level 2 (my favorite)!
  • Create Glitched GIFs from a normal image! That's right, before this tool, I had to manually download each image from ImageGlitcher , save them, and then head to a GIF creation website. Now you can do it all at once!
  • Customize the number of frames in a GIF as well as their duration - all from the comfort of your terminal!
  • Add scan lines for a retro CRT effect!
  • Oh and did I mention, color offset ? Just like ImageGlitcher , this tool glitches the color channels as well as the pixels - for very convincing looking glitched images!

Requirements

python 3
pillow
numpy

These will be automatically installed when you install the library! (assuming you have python3 )

Installation

Simply install glitch-this from pypi !

pip install glitch-this

(OR)

pip3 install glitch-this

Quick Start

Now that you have the library installed, all you need to do is invoke the script and pass in the params

glitch_this [IMAGE PATH] [GLITCH_LEVEL]

Glitchify static images to glitched images and GIFs

Try glitch_this -h for more info! Directly from your commandline!

Or, Check out the script docs !

Interested in the library? Check out the library docs !

DOCS! WHERE TO?!

Read the script docs !

Read the library docs !

Check out a full example using the library!

Whoa! Cool Glitches

Here's some glitched images generated from this script - of different intensity levels!

NOTE: All these images had -c parameter included, for color offset

Original image for reference:-

Glitchify static images to glitched images and GIFs

Glitched version - Level 2:-

Glitchify static images to glitched images and GIFs

Not badly glitched now is it?

Glitched version - Level 5:-

Glitchify static images to glitched images and GIFs

Well it's certainly starting to get glitchy

Glitched version - Level 8:-

Glitchify static images to glitched images and GIFs

I don't know what I'm looking at

Let's get some scan lines on there!

Glitched version (scan_lines)- Level 2:-

Glitchify static images to glitched images and GIFs

Glitched version (scan_lines) - Level 5:-

Glitchify static images to glitched images and GIFs

Glitched version (scan_lines) - Level 8:-

Glitchify static images to glitched images and GIFs

That's neat, but how about some GIFs? Here's some GIFs from the same image:-

Note: All the GIFs use default values from FRAMES and DURATION , i.e 23 and 200 respectively

Glitched GIF - Level 2:-

Glitchify static images to glitched images and GIFs

Glitched GIF - Level 5:-

Glitchify static images to glitched images and GIFs

Glitched GIF - Level 8:-

Glitchify static images to glitched images and GIFs


以上所述就是小编给大家介绍的《Glitchify static images to glitched images and GIFs》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Web容量规划的艺术

Web容量规划的艺术

阿尔斯帕瓦 / 叶飞、罗江华 / 机械工业出版社 / 2010-1 / 29.00元

《Web容量规划的艺术》由John Allspaw(F订ickr的工程运营经理)撰写,结合了他个人在F1ickr成长过程中的许多经历和很多其他产业中同行的洞察力。在衡量增长、预测趋势、成本效益等方面,他们的经验都会给你一些可靠并有效的指导。 网站的成功是以使用和增长来衡量的,而且网站类公司的成败(生死)是依赖于他们是否有能力来衡量决定他们的基础结构,从而适应不断增长的需求。作者通过自身实践给......一起来看看 《Web容量规划的艺术》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具