Creates an image from a buffer of pixels encoded in a specific format
This function is an advanced function. This function is mainly used to handle the images returned by external APIs via Image variables