在哪里可以找到 Delphi 的图像水印控件?
Delphi有没有好的图像水印控件? 如果它可以接收文本和图像以插入到基本照片中,那就太好了。
我也希望它是免费的。
Is there a good image watermark control for 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我找不到任何预先打包的控件。 但加水印一点也不难。 您所需要做的就是使用 Alpha 混合在另一个图像上绘制一个图像。 此站点有一整节介绍 Delphi 中的 alpha 混合。 他们提供了已实现它的图形库的链接。
但是,如果您使用 Delphi.NET,并且可以访问框架中的相关类,则有一种更简单的方法,仅使用框架方法。
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. This site has a whole section on alpha blending in Delphi. 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.
看看 Graphics32 和 GraphicEX。
或者看看 PascalMagick 是否有效。
Take a look at Graphics32 together with GraphicEX.
Or see if PascalMagick does the trick.