Bug 263819 [CSS] Wrong background color in preview in photo demo
The background color should be white, this is the CSS: #preview { color: #e5e5e5; background-color: #ffffff; } Presently it's a gray.
examples/org.eclipse.e4.demo.e4photo/src/org/eclipse/e4/demo/e4photo/Preview.java
}
				} catch (Exception e) {
					
					e.printStackTrace();
				}
				return null;
			}
		};
		this.parentSize = new WritableValue(bgRealm);
		this.scaledImageData = new ComputedValue(bgRealm) {
			protected Object calculate() {
				ImageData rawData = (ImageData) rawImageData.getValue();
				Point maxSize = (Point) parentSize.getValue();
				if (rawData == null || maxSize == null) {
					return null;
				}
				Point targetSize = getBestSize(rawData.width, rawData.height,
						maxSize.x, maxSize.y);
				return rawData.scaledTo(targetSize.x, targetSize.y);
			}
		};
		scaledImageData.addChangeListener(new IChangeListener() {
			public void handleChange(ChangeEvent event) {
				ImageData imageData = (ImageData) scaledImageData.getValue();
				if (imageData == null)
					return;
				if (currentImage != null) {
					currentImage.dispose();
					currentImage = null;
				}