Cut the subject out of a photo

loupe ●○○

Lift the subject of a photo onto a transparent background, the same trick as long-pressing a photo on your phone. Loop it over a folder to get a batch of cutouts for product shots, stickers, or slides. Phone photos come out upright.

$ loupe cutout -o owl.png owl.heic
$ mkdir -p cutouts && for f in *.heic; do loupe cutout -o "cutouts/${f%.*}.png" "$f"; done
Saved owl.png Saved cutouts/Owl.png Saved cutouts/Parrot.png Saved cutouts/Zebra.png
Requires: loupe 0.5+