Place watermark image on other images (C#, ASP.Net)

后端 未结 2 986
自闭症患者
自闭症患者 2020-12-02 14:41

How do I add a watermark image onto other images?

I\'m able to place text on an image as a water mark but now I have an image that I\'d like to put on there instead

相关标签:
2条回答
  • 2020-12-02 15:12

    in the same place where you call gr.DrawString, you can also do gr.DrawImage(position, size, overlayImage). It helps if your image-to-overlay is loaded from a PNG file (with transparency) to produce the best quality.

    0 讨论(0)
  • 2020-12-02 15:26

    Here is another solution which uses GDI+

    Creating a Watermarked Photograph with GDI+ for .NET

    0 讨论(0)
提交回复
热议问题