(colour_range, numpy_arrays)
return Image.fromarray(colour_range.convert_to_rgb(max_array))
Convert an array of floats or integers into an image object.
Convert an array of floats or integers into an image object.
Convert an array of floats or integers into an image object .
def arrays_to_colour(colour_range, numpy_arrays):
    """Convert an array of floats or integers into an image object."""

    max_array = numpy.merge(numpy_arrays, 'max')
    if max_array is None:
        return None
    
    return Image.fromarray(colour_range.convert_to_rgb(max_array))
def arrays_to_colour ( colour_range , numpy_arrays ) : max_array = numpy . merge ( numpy_arrays , 'max' ) if max_array is None : return None return Image . fromarray ( colour_range . convert_to_rgb ( max_array ) )