All Projects → r00tman → Corrupter

r00tman / Corrupter

Licence: bsd-2-clause
Simple image glitcher suitable for producing nice looking lockscreens

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Corrupter

Menyoki
Screen{shot,cast} and perform ImageOps on the command line 🌱 🏞️
Stars: ✭ 255 (-7.61%)
Mutual labels:  image-processing
Opencv Python Blueprints
M. Beyeler (2015). OpenCV with Python Blueprints: Design and develop advanced computer vision projects using OpenCV with Python, Packt Publishing Ltd., ISBN 978-178528269-0.
Stars: ✭ 262 (-5.07%)
Mutual labels:  image-processing
Androiddocumentscanner
This library helps to scan a document like CamScanner.
Stars: ✭ 264 (-4.35%)
Mutual labels:  image-processing
Ai Job Notes
AI算法岗求职攻略(涵盖准备攻略、刷题指南、内推和AI公司清单等资料)
Stars: ✭ 3,191 (+1056.16%)
Mutual labels:  image-processing
Photoflare
Quick, simple but powerful Cross Platform image editor.
Stars: ✭ 260 (-5.8%)
Mutual labels:  image-processing
Otb
Github mirror of https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb
Stars: ✭ 265 (-3.99%)
Mutual labels:  image-processing
i3-workspace-handler
Create i3 workspaces on the fly and call them by name
Stars: ✭ 23 (-91.67%)
Mutual labels:  i3
Optimizedimageenhance
Several image/video enhancement methods, implemented by Java, to tackle common tasks, like dehazing, denoising, backscatter removal, low illuminance enhancement, featuring, smoothing and etc.
Stars: ✭ 272 (-1.45%)
Mutual labels:  image-processing
High Quality Ellipse Detection
A high-quality ellipse detector based on arc-support line segments which can both accurately and efficiently detect ellipses in images.
Stars: ✭ 261 (-5.43%)
Mutual labels:  image-processing
Primify
Embed any image into a prime number.
Stars: ✭ 266 (-3.62%)
Mutual labels:  image-processing
Noaa Apt
NOAA APT weather satellite image decoder, for Linux, Windows, RPi 2+ and OSX
Stars: ✭ 257 (-6.88%)
Mutual labels:  image-processing
Popsift
PopSift is an implementation of the SIFT algorithm in CUDA.
Stars: ✭ 259 (-6.16%)
Mutual labels:  image-processing
Selene
A C++17 image representation, processing and I/O library.
Stars: ✭ 266 (-3.62%)
Mutual labels:  image-processing
Photoeditor
A Photo Editor library with simple, easy support for image editing using paints,text,filters,emoji and Sticker like stories.
Stars: ✭ 3,105 (+1025%)
Mutual labels:  image-processing
Image Adaptive 3dlut
Learning Image-adaptive 3D Lookup Tables for High Performance Photo Enhancement in Real-time
Stars: ✭ 267 (-3.26%)
Mutual labels:  image-processing
dotfiles
My dotfiles
Stars: ✭ 16 (-94.2%)
Mutual labels:  i3
Shadesketch
Implementation of "Learning to Shadow Hand-drawn Sketches" CVPR 2020 (Oral)
Stars: ✭ 263 (-4.71%)
Mutual labels:  image-processing
Rbgg
Isolate and remove the background gradient from images of paper.
Stars: ✭ 275 (-0.36%)
Mutual labels:  image-processing
Slicer
Multi-platform, free open source software for visualization and image computing.
Stars: ✭ 263 (-4.71%)
Mutual labels:  image-processing
Imager
Automated image compression for efficiently distributing images on the web.
Stars: ✭ 266 (-3.62%)
Mutual labels:  image-processing

corrupter

Simple image glitcher suitable for producing nice looking i3lock backgrounds

Getting Started

$ git clone https://github.com/r00tman/corrupter
$ cd corrupter && go build
$ ./corrupter -h
$ ./corrupter shots/example.png out.png && xdg-open out.png

If you're using an arch-based distro there are 2 AUR packages!

At the moment, you can only pass and output .png images. But that's enough to work well with scrot and i3lock.

Using with i3lock+scrot / swaylock+grim

As corrupter only glitches the image for a cool background, you'd have to set up a lock script.

Example screenshot lock script:

#!/usr/bin/env bash
tmpbg="/tmp/screen.png"
scrot "$tmpbg"; corrupter "$tmpbg" "$tmpbg"
i3lock -i "$tmpbg"; rm "$tmpbg"

The script above takes a screenshot with scrot, distorts it with corrupter, and then locks the screen using i3lock.

If you're using i3, you can create the script at ~/.lock, and then add a lock bindsym.

bindsym $mod+Control+l exec --no-startup-id bash ./.lock

Using pre-corrupted images

Alternatively, you can pre-corrupt an image and always use it (which is faster):

$ ./corrupter shots/example.png ~/.wallpaper.png

and then, in your ~/.config/i3/config:

bindsym $mod+Control+l exec --no-startup-id i3lock -i ./.wallpaper.png

This method is slightly faster since the image processing is already done.

Less distorted image

Default config is pretty heavy-handed. To get less disrupted images you may want to reduce blur and distortion:

$ ./corrupter -mag 1 -boffset 2 shots/example.png out.png && xdg-open out.png

Examples

Images using the default parameters: demo1 demo2 demo3

With custom parameters:
Before: demo4

After (custom parameters and ImageMagick dim): demo5

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].