de.intarsys.cwt.swt.image
public class ImageConverterAwt2Swt extends java.lang.Object
Constructor and Description |
---|
ImageConverterAwt2Swt(java.awt.image.BufferedImage paramBufferedImage) |
Modifier and Type | Method and Description |
---|---|
protected void |
computeValuesFromAwtImage(int depth,
de.intarsys.tools.valueholder.IValueHolder palette,
de.intarsys.tools.valueholder.IValueHolder scanlinePad,
de.intarsys.tools.valueholder.IValueHolder transparentPixel) |
protected void |
computeValuesPaletteDirect(java.awt.image.ComponentSampleModel sampleModel,
java.awt.image.ComponentColorModel colorModel,
de.intarsys.tools.valueholder.IValueHolder palette,
de.intarsys.tools.valueholder.IValueHolder scanlinePad,
de.intarsys.tools.valueholder.IValueHolder transparentPixel) |
protected void |
computeValuesPaletteIndexed(java.awt.image.IndexColorModel colorModel,
int depth,
de.intarsys.tools.valueholder.IValueHolder paletteHolder,
de.intarsys.tools.valueholder.IValueHolder scanlinePadHolder,
de.intarsys.tools.valueholder.IValueHolder transparentPixelHolder) |
protected void |
convert(java.awt.image.BufferedImage srcImage,
java.awt.image.BufferedImage destImage) |
protected org.eclipse.swt.graphics.ImageData |
createImageData() |
static java.awt.image.BufferedImage |
createSwtCompatibleAwtImage(int width,
int height,
boolean transparent) |
java.awt.image.BufferedImage |
getBufferedImage() |
protected static java.util.Map<java.awt.color.ColorSpace,java.util.Map<java.awt.color.ColorSpace,java.awt.image.ColorConvertOp>> |
getConvertOps() |
org.eclipse.swt.graphics.ImageData |
getImageData() |
public ImageConverterAwt2Swt(java.awt.image.BufferedImage paramBufferedImage)
public static java.awt.image.BufferedImage createSwtCompatibleAwtImage(int width, int height, boolean transparent)
protected static java.util.Map<java.awt.color.ColorSpace,java.util.Map<java.awt.color.ColorSpace,java.awt.image.ColorConvertOp>> getConvertOps()
protected void computeValuesFromAwtImage(int depth, de.intarsys.tools.valueholder.IValueHolder palette, de.intarsys.tools.valueholder.IValueHolder scanlinePad, de.intarsys.tools.valueholder.IValueHolder transparentPixel)
protected void computeValuesPaletteDirect(java.awt.image.ComponentSampleModel sampleModel, java.awt.image.ComponentColorModel colorModel, de.intarsys.tools.valueholder.IValueHolder palette, de.intarsys.tools.valueholder.IValueHolder scanlinePad, de.intarsys.tools.valueholder.IValueHolder transparentPixel)
protected void computeValuesPaletteIndexed(java.awt.image.IndexColorModel colorModel, int depth, de.intarsys.tools.valueholder.IValueHolder paletteHolder, de.intarsys.tools.valueholder.IValueHolder scanlinePadHolder, de.intarsys.tools.valueholder.IValueHolder transparentPixelHolder)
protected void convert(java.awt.image.BufferedImage srcImage, java.awt.image.BufferedImage destImage)
protected org.eclipse.swt.graphics.ImageData createImageData()
public java.awt.image.BufferedImage getBufferedImage()
public org.eclipse.swt.graphics.ImageData getImageData()