transparent Image

Hi all
How do i make transparent image with WHITE color and draw it. ( i want each pixel with WHITE color wto be transparent when i draw it with PhDrawPhImage())
In the back i have PtBackGrownd widget is there some additional setting for this widget to make this.
Thanks

Take a look at PhMakeTransBitmap() or PhMakeTransparent().

Hi
Thansk for advice i did it. Stilla i have a problem with PiCropImage(),
becouse always when i use it used memory inceasess. I’v put PhReleaseImage () on cropped img and original but nothing, i did crop with with Pi_FREE and Pi_SHMEM but nothing changed!!!
I’d use PxLoadImage() for loading.
Do i have to make some additional thinks with cropping and releaseing of the images???
Thanks