function readImageLayer(map, data, z) {
	// Normalize properties
	applyTMXProperties(data.properties, data);

	// create the layer
	const imageLayer = pool.pull(
		"ImageLayer",
		// x/y is deprecated since 0.15 and replace by offsetx/y
		+data.offsetx || +data.x || 0,
		+data.offsety || +data.y || 0,
		Object.assign(
			{
				name: data.name,
				image: data.image,
				ratio: vector2dPool.get(+data.parallaxx || 1.0, +data.parallaxy || 1.0),
				// convert to melonJS color format (note: this should be done earlier when parsing data)
				tint:
					typeof data.tintcolor !== "undefined"
						? colorPool.get().parseHex(data.tintcolor, true)
						: undefined,
				z: z,
			},
			data.properties,
		),
	);

	// set some additional flags
	const visible = typeof data.visible !== "undefined" ? data.visible : true;
	imageLayer.setOpacity(visible ? +data.opacity : 0);

	return imageLayer;
}
read the Image Layer Data
@ignore