I have created a GUI where I have two pushbuttons, I have embedded an image on these pushbuttons, but as you can see there are the button images, but they have black spaces around, because the original image has them. My question is if there is an effective way of deleting those black spaces that are around of the real part of the image I want (play button and save button), so only the button part of the image appears.
I have used this code to fit the image to the pushbuttons
I have attached an image of the GUI with those 2 buttons. And I have also attached the original images of the play button and save button.