async function prepareImages(images) {
    if (!Array.isArray(images)) {
        images = [images];
    }

    // Possibly convert any non-images to images
    return await Promise.all(images.map(x => RawImage.read(x)));
}
Prepare images for further tasks.
@param {ImagePipelineInputs} images images to prepare.
@returns {Promise<RawImage[]>} returns processed images.
@private