private void draw() {
		// Draw the image with smoothing disabled.
		// With smoothing, it uses an aggressive linear filter which looks horrible on pixel-art/low-res images.
		// Without smoothing, it still uses a linear filter, but it is MUCH less aggressive.
		GraphicsContext gc = getGraphicsContext2D();
		gc.setEffect(null); // Clearing won't work if certain effects are applied, so reset it before clearing.
		gc.clearRect(0, 0, getWidth(), getHeight());
		if (image != null) {
			if (colorAdjust != null)
				gc.setEffect(colorAdjust);
			gc.setImageSmoothing(false);
			gc.drawImage(image, 0, 0);
		}
	}
@param contrast
		New relative contrast adjustment.
recaf-ui/src/main/java/software/coley/recaf/ui/control/ImageCanvas.java