Skip to content

Instantly share code, notes, and snippets.

View ryan-robeson's full-sized avatar

Ryan Robeson ryan-robeson

View GitHub Profile
@ryan-robeson
ryan-robeson / building-resynthesizer-instructions.md
Last active December 21, 2023 06:53
Building Resynthesizer for GIMP 2.10.10 on macOS

Building Resynthesizer for GIMP 2.10.10 on macOS - V2

Feedback is welcome and appreciated.

  • If you'd prefer to do things by hand check out Version 1 of this guide.

The following documents the steps I took to compile the latest version of Resynthesizer on macOS Sierra (10.12.6) for GIMP 2.10.10.

Homebrew was used to fulfill as many dependencies as possible.

Description

This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.

The script is here:

#!/bin/bash
convert $1 -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 $2

Results