Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am valentinvieriu on github.
  • I am valentin_v (https://keybase.io/valentin_v) on keybase.
  • I have a public key whose fingerprint is 39AE A0F2 A885 A843 7BCE 36CC BDD4 2561 0960 69F1

To claim this, I am signing this object:

#!/bin/bash
width=60;
height=60;
x_offset=10;
y_offset=5;
filelist=`ls | grep '.jpg'`
for image_file in $filelist
do
preextensionfilename=`convert $image_file -format "%t" info:`
convert $image_file -crop ${width}x${height}+${x_offset}+${y_offset} \