如何比较两个pdf文件之间的数据/内容 [英] How to compare data/content between two pdf files

查看:381
本文介绍了如何比较两个pdf文件之间的数据/内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

考虑一下,我有两个pdf表格,我想比较打印在他们身上的数据/文字,看看它们是否相同。



< b>我尝试了什么:



我使用从pdf中提取文本的免费库,获得pdf表格上打印内容。但是这只给了我所有的文字,并且不保持打印文本的顺序。



我可以使用的几种方法/方法/工具是什么?

consider, I have two pdf forms and I want to compare the data/text that is printed on them to see if they are same or not.

What I have tried:

I get the content of what's printed on the pdf forms, using a free library that extracts the text from pdf. but this only gives me all the text, and doens't maintain
the order the text is printed.

what are few ways/methods/tools that I can use?

推荐答案

你好,比较一下校验和文件。为输入文件生成校验和并进行比较。检查这些答案。



1. c# - 如何使用.NET快速比较2个文件? - 堆栈溢出 [ ^ ]

2. c# - 计算文件的MD5校验和 - 堆栈溢出 [ ^ ]
Hello, Compare the Checksum of the files. Generate Checksum for your input files and compare them. Check these answers.

1. c# - How to compare 2 files fast using .NET? - Stack Overflow[^]
2. c# - Calculate MD5 checksum for a file - Stack Overflow[^]


这篇关于如何比较两个pdf文件之间的数据/内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆