/soryu

glitch an image in the terminal

Primary LanguageGoThe UnlicenseUnlicense

soryu

glitch an image in the terminal

Installation

go get github.com/enjuus/soryu

It is also available in the AUR thanks to @BachoSeven: soryu-git

Usage

NAME:
   soryu - CLI too glitch an image

USAGE:
   soryu [options]

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --color-boost value, --cb value              the color to boost [red, green, blue] (default: "red")
   --gif, -g                                    generate an animated gif from multiple glitched versions of the given image (default: false)
   --gif-delay value, --gd value                the amount of delay between frames (default: 20) 
   --gif-frames value, --gf value               the amount of frames to be genrated for the gif (default: 10)
   --input value, -i value                      the input file path
   --noise-color value, -n value                the hexcolor of the applied noise (default: "#c0ffee")
   --order value, -o value                      define which effect are to be applied and the order of them (default: "Streak,Burst,ShiftChannel,Ghost,GhostStretch,ColorBoost,Split,VerticalSplit,Noise")
   --output value, --out value                  the path where the file is written (default: "./glitched.png")
   --seed value, --se value                     give a seed (default: 1604531062800694400)       
   --shift-channel-direction, --scd             shift colorchannel direction, if true it is shifted left (default: false)
   --split-length value, --spl value            the length of the splits (default: 50)
   --split-width value, --spw value             the width of the splits (default: 3)
   --streak-amount value, --sa value            the amount of streaks to add to the image (default: 10000)
   --streak-direction, --sd                     the direction of the streak, true for left (default: false)
   --streak-width value, --sw value             the width of the streaks (default: 3)
   --vertical-split-length value, --vspl value  the length of the vertical splits (default: 50)  
   --vertical-split-width value, --vspw value   the width of the vertical splits (default: 3)    
   --help, -h                                   show help (default: false)

Examples

Original

original image

With Burst, Stretch, Streak and Split

modified 1

With Shift and Streak

modified 2

--gif generates 10 different images and combines them into an animated gif

gif

noise

With BigLines

biglines