Combine with transparency

Discussions about image processing and document imaging.
Post Reply
fnaudeau
Posts: 14
Joined: Thu Dec 25, 2014 7:25 pm

Combine with transparency

Post by fnaudeau » Mon Jan 02, 2017 4:38 pm

Hi,

Is there a simple way to combine an image, which has some transparencies, with another one ?
Just imagine ImageA.png with some transparent areas.
ImageB.jpg a normal image.
(ImageA + ImageB) will be ImageA and instead of transparency, we see parts of ImageB ( Like a layer in Photoshop ).
It simulates that ImageA is above imageB.
ImageA.png
+
ImageB.png
=
ImageAB.png
Many thanks.

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Combine with transparency

Post by Loïc » Fri Jan 06, 2017 3:51 pm

Hi,

Just use the DrawGdPictureImage() method.
See: https://www.gdpicture.com/guides/gdpicture/web ... Image.html

Please let me know if you need further info.

With best regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests