I've been trying to remove a shadow from an image for some time as well as make the background transparent, but have had a great deal of difficulty.
Here are two starter images:
and
I have been successful in removing backgrounds and making these images transparent, seen in cases here:
and
respectively.
This was done using this script:
Code: Select all
convert Last\ Shot\ \(2018\)-f6179a7a-7b21-41a5-87bf-885268f78e04\ \(1\).jpg -alpha set -bordercolor white -border 1 -fill none -fuzz 3% -draw "color 0,0 floodfill" result1_fill.png
I was thinking of setting up a meta mask and cutting off the bottom of the shoes, but this didn't work as I expected. I then tried adding a background of black with a higher than usual fuzz (around 10%) to try and get the background and shadow all one colour. Once done, i was going to set the black to transparent. Yet this did not work either.
Anyone have any suggestions that could help?