Picture.Transparent

From Xojo Documentation

Property (As Integer )
aPicture.Transparent = newIntegerValue
or
IntegerValue = aPicture.Transparent

Supported for all project types and targets.

Controls the transparency of the white 'layer' of the picture.

Notes

Transparent can take on either of the following values:

0 - Not transparent.

1 - White is transparent.

With the availability of alpha channels, you should instead use the constructor in place of this property.

Example

This example turns on transparency (for older Picture files).

Dim pic As Picture
Dim f As FolderItem
f = GetOpenFolderItem("image/jpeg")
If f <> Nil Then
pic = Picture.Open(f)
pic.Transparent = 1
ImageWell1.Image = pic
End If