Explorar el Código

make sure export init to transparent black

Johann ELSASS hace 4 años
padre
commit
ef676de1b7
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      lazpaint/image/uimageaction.pas

+ 1 - 0
lazpaint/image/uimageaction.pas

@@ -426,6 +426,7 @@ begin
     end else
     begin
       layerCopy := TBGRABitmap.Create(Image.Width, Image.Height);
+      layerCopy.FillTransparent;
       writer := CreateBGRAImageWriter(imgFormat, true);
       try
         layerCopy.PutImage(Image.LayerOffset[layerIdx].x, Image.LayerOffset[layerIdx].y,