使用 C# 为照片添加标签

发布于 2024-08-03 20:45:30 字数 56 浏览 1 评论 0原文

如何在 C# 中实现照片标记功能?我想开发与 Orkut 和 Facebook 等网站类似的功能。

How can I implement a photo tagging feature in C#? I want to develop similar functionality to sites like Orkut and Facebook.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

滥情哥ㄟ 2024-08-10 20:45:30

多思考一下,把问题分成几个部分。

标记只是标记一个区域并为该区域映射一个名称。因此,您只需要保留一个坐标来保留标签位置,例如左上角(并假设一个固定大小的正方形:即标签区域)以及与该区域映射的名称。您可以通过简单的鼠标按下事件来使用任何表单/图像坐标操作功能。

Just think a bit more and break the problem into sections.

Tagging is just marking an area and map a name for that area. So you just need to keep a single coordinate to keep your tag location, say the top left corner (And assume a fixed size of a square : that is the tag area) and the name that mapped with the area. You may use any form/image coordinate manipulation capability with a simple mouse down event.

笑饮青盏花 2024-08-10 20:45:30

检查这个,它可能会有所帮助:

Facebook 风格照片标签 (CodeProject)

Check this one, it might be of some help:

Facebook Style Photo Tag (CodeProject)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文