Skip to content

Commit

Permalink
Add transparent space around non-square input emoji for explode-
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Hughes committed Mar 31, 2017
1 parent c1e531d commit d5330f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion explode-emoji.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ input_file_name="$(basename "${input_file_name_raw}")"
# "file.blah" -> "file-explosion.gif"
file_name_to_output="${input_file_name%.*}-explosion.gif"

convert -dispose Previous "${input_file_name_raw}" -resize 128x128 -set page +0+0 -set delay 100 explosion.gif -loop 0 "${file_name_to_output}";
convert -dispose Previous "${input_file_name_raw}" -resize 128x128 -background transparent -gravity center -extent 128x128 -set page +0+0 -set delay 100 explosion.gif -loop 0 "${file_name_to_output}";

0 comments on commit d5330f5

Please sign in to comment.