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
static ResourceBundle bundle = ResourceBundle.getBundle("examples_images");
	Display display;
	Shell shell;
	Canvas imageCanvas, paletteCanvas;
	Label typeLabel, sizeLabel, depthLabel, transparentPixelLabel,
		timeToLoadLabel, screenSizeLabel, backgroundPixelLabel,
		locationLabel, disposalMethodLabel, delayTimeLabel,
		repeatCountLabel, paletteLabel, dataLabel, statusLabel;
	Combo backgroundCombo, scaleXCombo, scaleYCombo, alphaCombo;
	Button incrementalCheck, transparentCheck, maskCheck, backgroundCheck;
	Button previousButton, nextButton, animateButton;
	StyledText dataText;
	Sash sash;
	Color whiteColor, blackColor, redColor, greenColor, blueColor, canvasBackground;
	Font fixedWidthFont;
	Cursor crossCursor;
	GC imageCanvasGC;
	PrinterData printerData;
	
	int paletteWidth = 140; 
	int ix = 0, iy = 0, py = 0; 
	float xscale = 1, yscale = 1; 
	int alpha = 255; 
	boolean incremental = false; 
	boolean transparent = true; 
	boolean showMask = false; 
	boolean showBackground = false; 
	boolean animate = false; 
	Thread animateThread; 
	Thread incrementalThread;