image_to_mode

Contents

image_to_mode#

image_to_mode(input_image, mode)[source]#

Converts an image to the specified mode (e.g. RGB, RGBA, Grayscale).