private static int findZeroMagnificationIndex() {

		for (int i = 0; i < ZOOM_LEVELS.length; i++) {
			if (Float.compare(ZOOM_LEVELS[i], 1.0f) == 0) {
				return i;
			}
		}
		throw new IllegalStateException(
			"Magnification factor list must contain an entry for no magnification (1.0x)");
	}
Creates a panel that displays an {@link Image}. Users may pan the image as desired and zoom the
image according to specific zoom levels.
Ghidra/Framework/Docking/src/main/java/docking/widgets/imagepanel/ImagePanel.java