wunderbar, was willst du mehr?Unmittelbar ach dem Erstellen des BufferedImage befindet sich das BufferedImage in dem benötigten Zustand
was heißt "wieder"? hab's eben ausprobiert: das bild ist von anfang an komplett transparent, und bleibt es auch, solange man nicht was anderes draufmalt... Verstehe das problem daher gar nicht.aber ich schaffe es nicht, den Hintergrund wieder mit Transparenz zu füllen![]()
/**
* Represents image data that is guaranteed to be either completely
* opaque, with an alpha value of 1.0, or completely transparent,
* with an alpha value of 0.0.
*/
public final static int BITMASK = 2;
/**
* Represents image data that contains or might contain arbitrary
* alpha values between and including 0.0 and 1.0.
*/
public final static int TRANSLUCENT = 3;