Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

shitpic GoDoc

As explained in The Awl, a shitpic happens, “when an image is put through some diabolical combination of uploading, screencapping, filtering, cropping, and reuploading. They are particularly popular on Instagram.”

shitpic is a utility for creating shitpics. It recompresses an input file a number of times (default 100) and saves the degraded output.

Example

Input:

Clean monkey

Output:

Dirty monkey

Installation

First install Go.

If you just want to install the binary to your current directory, and don't care about the source code, run

GOBIN=$(pwd) GOPATH=/tmp/gobuild go get github.com/carlmjohnson/shitpic

Usage

$ shitpic -h
Usage of shitpic:
    shitpic [options] input output

Shitpic accepts and can output JPEG, GIF, and PNG files.

  -cycles uint
        How many times to reprocess input (default 100)
  -quality int
        Lower bound of quality (0–100) (default 75)
  -reduce-colors
        Reduce to 256 colors

About

Recompresses JPEGs to make shitpics

Resources

License

Releases

No releases published

Packages

No packages published