[Gambas-user] How do I replace Image transparent background with a white background?

RICHARD WALKER richard.j.walker at ...247...
Mon Sep 17 23:39:54 CEST 2012


I am now convinced I am getting too old for this game.

I managed to package a broken project.

One critical line is missing from the copy button handler. Here is the
whole thing:

Public Sub CopyButton_Click()

Dim tmpImage As Image

    If FLogo.Visible Then
        With FLogo.Picture
            tmpImage = New Image(.W, .H, Color.White)
            tmpImage.PaintImage(.Image, 0, 0)
        End With
        Clipboard.Copy(tmpImage)
    Endif

End




More information about the User mailing list