it work
manage with isolated pixels
optimize black pixel research
no greyscale version
simplify processing (working with 2bit image for shape detection)
add trim + right filename
batch
remove size test
optim
batch improvement
prevent from black pixel in the top left corner