A small utility which allows to select a rectangular area of the image and outputs the coordinates (left, top, width, height) of this rectangle.
select-rect.py <image>
- Python
- pygame
No installation is needed, although you may copy/symlink the program into
some directory included in $PATH
(e.g. /usr/local/bin
)
CC0, because I spent about 10 minutes writing the code