Alright i don’t know this is possible programmatically or not with any software but lets learn it.
Now let me demonstrate it with example
i am using paint.net magic wand tolerance 0%
empty space

and here empty space removed version

is this possible to do via any software such as c# or photoshop etc
i need to do batch processing
ty
I do not really know whether this answers your question or not but I hope it does
Here’s a code to remove surrounding white space from an image from Darren
Thanks,
I hope this helps 🙂