Yes, use the fuzzy select tool
on the background. Have a look at the html doc.
If necessary increase the default threshold a little. If all your images are the same as your headphone example default will be ok.

If necessary increase the default threshold a little. If all your images are the same as your headphone example default will be ok.