1. Image apply_transparency
1.1. Apply_transparency
Use the
Image.apply_transparency()
method to remove a transparency key in the info dictionary of a P mode image and apply the transparency to the palette instead.