Bug 96320 ImageLoader.save cannot set JPEG compression ratio
When saving an image to JPEG, there is no way to set the compression ratio. And at the same time the default compression seems to be quite high (~20%), and images are really not looking good at the default compression rate. Could we either: - set the compression rate when saving? - or at least haev a default compression rate much lower? A modest increase in size wuold result in a usable file format for image saving. Thanks!
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/imageanalyzer/ImageAnalyzer.java
y = canvasBounds.height - height;
			}
			imageCanvas.scroll(ix, y, ix, iy, width, height, false);
			iy = y;
		}
	}
	/*
	 * Called when the palette canvas' vertical scrollbar is selected.
	 */
	void scrollPalette(ScrollBar scrollBar) {
		if (image == null) return;
		Rectangle canvasBounds = paletteCanvas.getClientArea();
		int paletteHeight = imageData.palette.getRGBs().length * 10 + 20;
		if (paletteHeight > canvasBounds.height) {
			
			int y = -scrollBar.getSelection();
			if (y + paletteHeight < canvasBounds.height) {
				
				y = canvasBounds.height - paletteHeight;
			}
			paletteCanvas.scroll(0, y, 0, py, paletteWidth, paletteHeight, false);
			py = y;
		}
	}
	/*
	 * Return a String containing a line-by-line dump of
	 * the data in the current imageData. The lineDelimiter
	 * parameter must be a string of length 1 or 2.
	 */
	String dataHexDump(String lineDelimiter) {