Overlay with a transparent figure in PNG data format
Posted: Thu May 08, 2025 4:47 pm
I have one figure, stored in PNG data format open in XnView. And I have another Bitmap, also in PNG data format also open in a window in XnView.
Both of these bitmaps contain an alpha channel and are in 32bit color depth. The second one is some lines on transparent background.
I tried to use this second bitmap and overlay an area in the first bitmap, using copy paste.
The result is, that the second bitmap is inserted into marked area of the first bitmap, including the transparent area around the lines.
But that is not, what I want.
I would like to have the second bitmap ontop of the first one, the lines visible, but in the transparent area the underlaying first bitmap to be visible.
Is there a way to reach this?
Best regards
Hans
Both of these bitmaps contain an alpha channel and are in 32bit color depth. The second one is some lines on transparent background.
I tried to use this second bitmap and overlay an area in the first bitmap, using copy paste.
The result is, that the second bitmap is inserted into marked area of the first bitmap, including the transparent area around the lines.
But that is not, what I want.
I would like to have the second bitmap ontop of the first one, the lines visible, but in the transparent area the underlaying first bitmap to be visible.
Is there a way to reach this?
Best regards
Hans