如何在.Net中修改tiff创建日期(How to modify tiff creation date in .Net)

编程入门 行业动态 更新时间:2024-10-28 02:34:52
如何在.Net中修改tiff创建日期(How to modify tiff creation date in .Net)

我正在写一个pdf比较实用程序 。 经过一些调查后 ,似乎最好的方法是转换为tiff并从那里进行比较。

我设法用Ghostscript做到这一点,但我在嵌入式创建日期元数据方面有所不同。

我如何使用.Net来修改它?

I am writing a pdf comparison utility. After some investigation it seems like the best way to do this is to convert to tiff and compare from there.

I managed to do this with Ghostscript but am getting a difference in the embedded creation date metadata.

How do I use .Net to modify this?

最满意答案

您可以使用LibTiff.NET 。 它是开源的。 使用此库,您可以使用SetField方法修改Tiff文件中的许多标记中的任何一个,包括TiffTag.DATETIME标志。

You can use LibTiff.NET. It is open source. Using this library, you can use the SetField method to modify any one of the many tags in the Tiff file, including the TiffTag.DATETIME flag.

更多推荐

比较,tiff,Ghostscript,电脑培训,计算机培训,IT培训"/> <meta name="descripti

本文发布于:2023-07-07 15:31:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1065215.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:创建日期   如何在   Net   date   tiff

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!