This is the original image of 200x200
On downscaling the image to 100x100. There is a semi transparent shadow near the lines and some pixels are not completely opaque.
The command used for scaling:
ffmpeg -i test.png -vf scale=100x100 out.png
I have also tried scaling with this command:
ffmpeg -i test.png -vf scale=100x100 -sws_flags neighbor out.png
The shadows are gone but the top line has also vanished.
How do I fix this ?