Note: I'm using the Windows version. Once I find the commands that work, I can automate everything using AutoIt.
Here is my box.jpg graphic -->

Code: Select all
convert box.jpg -trim -fuzz 4% box_trimmed.jpg

As you can see, the trim helped, but left an uneven border around the box. I would like to get ride of the entire white border. I've tried different combinations of fuzz and also have tried using blur.
I would greatly appreciate if someone can point out what I'm doing wrong. Thanks!