public static Image create( int baseImageIndex, Dimension[] dimensions, Function<Dimension, Image> producer ) {
		return producer.apply( dimensions[baseImageIndex] );
	}
Creates a multi-resolution image for the given dimensions.
Initially the image does not contain any image data.
The real images are created (and cached) on demand by invoking the given producer function.
<p>
The given dimensions array is only used for {@link #getResolutionVariants(Image)}.
The producer function may be invoked with any dimension (that is not contained in 
dimensions array) and is expected to produce an image for the passed in dimension.

@param baseImageIndex index of the base image in the dimensions array
@param dimensions dimensions of resolution variants (sorted by size; smallest first)
@param producer producer function that creates a real image for the requested size
@return a multi-resolution image on Java 9 or later; the base image on Java 8
flatlaf-core/src/main/java/com/formdev/flatlaf/util/MultiResolutionImageSupport.java