简体   繁体   English

在哪里可以找到 Delphi 的图像水印控件?

[英]Where can I find an image watermark control for Delphi?

Is there a good image watermark control for Delphi? Delphi 有没有好的图片水印控件? It would be nice if it could receive both text and images to insert in a base photo.如果它可以接收文本和图像以插入基本照片,那就太好了。

I would also prefer it was free.我也希望它是免费的。

I couldn't find any pre-packaged controls.我找不到任何预先打包的控件。 But watermarking is not very hard at all.但是加水印一点也不难。 All you simply need to do is draw an image on top of another image with the use of alpha blending.您只需要做的就是使用 alpha 混合在另一个图像之上绘制一个图像。 This site has a whole section on alpha blending in Delphi. 站点有一整节关于 Delphi 中的 alpha 混合。 They provide links to graphics libraries which have implemented it.他们提供了到已经实现它的图形库的链接。

However if you're using Delphi.NET, and can access the relevant classes in the framework, there is an easier way using only framework methods.但是,如果您使用的是 Delphi.NET,并且可以访问框架中的相关类,那么仅使用框架方法是一种更简单的方法。

Take a look at Graphics32 together with GraphicEX .一起看看Graphics32GraphicEX

Or see if PascalMagick does the trick.或者看看PascalMagick是否做到这一点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM