assume i have multiples images size like
1600x1200 1200x1600 640x640 960x960 2448x3264 640x614 640x640 2448x3264 2896x2896 2448x3264 750x1334 900x1600 750x1334.. etc
all those images have logo in the right bottom near to corner (( see the below example pic have asterisk as logo ))

so I need to cutting 'height' only from button by percent size like (10%) to remove the logo
or any best way to identify the logo and replace it either another logo nor black bar.
I already make bash script to identify the image size with if statement
thanks