Writing Transparent Text on Image

前端 未结 7 1041
名媛妹妹
名媛妹妹 2020-12-16 05:54

How can I write a semi transparent text on an Image (Jpg,Bmp), or a transparent text (color as same background Image) but with a shadow, something I want to do to watermark

7条回答
  •  误落风尘
    2020-12-16 06:16

    I presume what you're trying to accomplish is a little more complicated than simply writing text with a transparent background; i.e. you are trying to get some form of alpha-blended text written on the image.
    The simplest method would be to make use of the GDI+ routines. They are encapsulated for delphi and available for download from http://www.progdigy.com/. There are many examples there which should be usable as an example.

提交回复
热议问题