是否可以使用 .NET 将图层添加到 .tiff 图像?

发布于 2024-09-06 11:53:11 字数 227 浏览 2 评论 0原文

是否有任何 .NET 库等允许向 .tiff 图像添加图层(带有文本)? 像注释之类的东西,这样以后就可以将它们与图像分开。

我尝试了 DotImage - 它允许添加注释,将它们保存为嵌入到图像中并加载它们之后,但似乎没有其他图像观看者意识到他们在那里。

Are there any .NET libraries etc. which allow adding layers (with text) to .tiff images?
Something like annotations, so that it would be possible to separate them from image afterwards.

I tried DotImage - it allows to add annotations, save them as embedded into image and load them afterwards, but no one other image viewer seems to recognize that they are there.

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

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

发布评论

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

评论(2

挽清梦 2024-09-13 11:53:11

我在 Atalasoft 工作,并参与过 DotAnnotate 工作。例如,DotAnnotate 和 IrfanView 嵌入 TIFF 中的 Xmp 格式注释之间没有互操作性的原因是,我们的注释是专有的但指定的格式。如果您希望查看者阅读它们,您将需要工具来转换它们(可以使用我们自己的程序集构建)。

TIFF 本身不指定注释格式。它确实指定了将非图像数据以可拉出的方式嵌入到 TIFF 文件中的方法。在大多数情况下,TIFF 既不规定数据应该是什么,也不规定数据应如何格式化。

另一方面,PDF 确实定义了某些类型的注释在文档中的显示、行为和存储方式。 PDF注释和DotAnnotate注释在能力上有交集,但不是100%。 DotImage 尚不支持某些 PDF 注释类别,反之亦然。 DotAnnotate 注释还有一些核心功能无法在 PDF 中表示(好吧,如果有的话)。

然而,DotAnnotate 确实能够通过创建外观注释(通常是带有外观流的矩形注释,使其看起来像 DotAnnotate 注释)并将注释数据嵌入到 PDF 注释中来在 PDF 中往返注释。

如果您想将注释存储在 TIFF 中并提供 Web 视图,您可以使用我们的 Ajax 注释查看器来实现,您可以尝试 此处

如果您需要解决特定目标或用例,您绝对应该直接联系支持人员寻求帮助。

I work for Atalasoft and have worked on DotAnnotate. The reason why there is no interoperability between, say, Xmp formatted annotations embedded in a TIFF from DotAnnotate and IrfanView is that our annotations are a proprietary, but specified format. If you want a viewer to read them, you would need tool to convert them (which can be built with our own assemblies).

TIFF by itself doesn't specify an annotation format. It does specify ways to embed non-image data into a TIFF file in a way that it can be pulled out. In most cases, TIFF neither dictates what the data should be nor how it should be formatted.

PDF, on the other hand, does define how certain types of annotations should appear, behave and be stored in the the document. PDF annotations and DotAnnotate annotations intersect in capability, but not 100%. There are classes of PDF annotations that are not (yet) supported in DotImage and vice versa. There are also core capabilities of DotAnnotate annotations that can't be represented (well, if at all) in PDF.

DotAnnotate, however, does have the ability to round-trip annotations in PDF by creating a facade annotation (usually a rectangle annotation with an appearance stream that makes it look like the DotAnnotate annotation) and embedding the annotation data into the PDF annotation.

If you want to store annotations in a TIFF and offer a web view, you can do that with our Ajax annotation viewer, which you can try out here.

If there is a specific goal or use case you need to solve, you should absolutely contact support directly for help.

心如荒岛 2024-09-13 11:53:11

TIFF 格式允许您在文件中添加/嵌入任何内容:这意味着没有 TIFF 查看器知道如何显示可以嵌入 TIFF 文件中的所有内容。

The TIFF format allows you to add add/embed anything in the file: that implies that there is no TIFF viewer which knows how to display everything which could be embedded in a TIFF file.

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