Skip to content

Instantly share code, notes, and snippets.

@ssj71
Created April 9, 2020 23:54
Show Gist options
  • Save ssj71/2880c9a4e4ec547951f785fe3ddf6daa to your computer and use it in GitHub Desktop.
Save ssj71/2880c9a4e4ec547951f785fe3ddf6daa to your computer and use it in GitHub Desktop.
Make an image seamless
#!/bin/bash
#make any image seamless by copying it backward (mirrored) and stitching the 2 copies together
#works on linux
convert $1 -flop tmp.png
convert $1 tmp.png +append output.png
rm tmp.png
feh output.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment