I have therefore converted my jpg's to png. I used Paint.Net to do this and the image looks fine. All the white background is now transparent.
When inserting this image into my VPE document:
- Code: Select all
.PICTURE(pnWhere, This.nBottom, vfree, vfree, lcFile, PIC_KEEPIMAGE+PIC_IN_FILE)
I get the image in the VPE but it has a black background.
I saw an other article about this topic on this forum and you mentioned setting the backgound to transparent:
- Code: Select all
.BkgMode = VBKG_TRANSPARENT
Is this now something I need to set before inserting the picture into the document or is this something I need to do on a document level?
In other words: can you please help me on getting a PNG image with transparency into a VPE document not showing a black background in the image