There is a similar topic on http://www.imagemagick.org
"Try:
-fuzz XX% -transparent white
where the smaller the %, the closer to true white or conversely, the larger the %, the more variation from white is allowed to become transparent."
http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=12619