The function create_transparent_image has been updated.
A new function to clear the image was added.
The script has been updated.