浏览代码

added scancroppers bash call

master
Victor Giers 3 年前
父节点
当前提交
6271862fac
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      README.md

+ 2
- 0
README.md 查看文件

@@ -5,3 +5,5 @@ Collection of notes
#### rotate all images using imagemagick
```mogrify -rotate 180 *.jpg```
```mogrify``` overwrites existing images which is what makes it different from ```convert```
#### cut poly-shape out of image, crop image to its boundaries, fill surrounding holes in certain color or transparent (for all jpgs in folder)
```for f in ./*.jpg; do convert "$f" \( -clone 0 -fill black -colorize 100 -fill white -draw "polygon 3276,2421 4945,2407 4956,4708 3287,4722" \) -alpha off -compose copy_opacity -composite -trim +repage 41050648/"$f"_left.jpg; done```

正在加载...
取消
保存