Bash: Batch Converting Images from Shell

Here is a simple bash one-liner for converting images. In my case, I used this on a bunch of photos taken with my iPhone. The default format is HEIC. I personally would rather PNG files, so I used convert from imagemagick to convert and resize. (This was a zsh shell).