table of content
# resize image
resize a image or images matched by expression
// resize the JPG images with given width `250px`
sips -Z 250 *.jpg
// resize the image and reduce the quality of images
sips -s formatOptions 25 *.jpg
// convert all PNG files to JPEG format: png => jpeg
sips -s format jpeg -s formatOptions 25 *.png
# video to GIF image
Use the video application kap
to recode the screen, then save the screen as gif
:
// export setting I used for symfony flows gifs
width 760 FPS 5 GIF