Note: most of these are in place conversions.
convert $i -resize 800x600\> $i
convert test.png -resize 800x600\> test.webp
convert $i -trim -resize 140x183\> $i