Site for my Call of Duty: Mobile clan. http://codm.ataraxy.tk
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
336 B

  1. # regular
  2. # convert $argv[1].$argv[2] -resize 500x500 $argv[1]-rs.jpg
  3. # cwebp -q 80 $argv[1]-rs.jpg -o $argv[1].webp
  4. # mv $argv[1]-rs.jpg $argv[1].jpg
  5. # rm $argv[1].$argv[2]
  6. # png
  7. convert $argv[1].$argv[2] -resize 500x500 $argv[1]-rs.$argv[2]
  8. cwebp -q 80 $argv[1]-rs.$argv[2] -o $argv[1].webp
  9. mv $argv[1]-rs.$argv[2] $argv[1].$argv[2]