导出、导入文字层
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
Research direction
No files, tests, or entry points are named. Start by reviewing PDFPatcher's existing PDF structure, image, and text-layer extraction or merge functionality. Define done as transferring coordinate-aware OCR text between matching PDFs or replacing images while preserving the original image data and handling page-size differences.
Written by the indexing model from the issue text.
Description
使用场景
类似这样的场景
将pdf文本层复制到另一个pdf | 智问智答
具体描述:
在对扫描版PDF文件OCR处理的软件中abbyy可以说是顶流的,但是使用abbyy也带来一个问题:OCR处理之后,保存文件时,abbyy会对图像进行处理,导致保存的PDF文件膨胀的很厉害,即使不勾选任何图像预处理选项、保存时使用的是最佳质量,也是这样(使用PDF补丁丁导出OCR处理前后PDF文件中的图片,发现图片的大小发生了变化,计算hash值肯定也是不一样的)。
功能应该怎样实现
方案1:提取出A文件(比如abbyy OCR 处理之后的PDF文件)中的文字层(带有坐标的文本),然后导入到文件B中(比如abbyy OCR处理之前的PDF文件),从而达到目的,可能需要考虑提前把A、B两个文件对应页面大小调整为一致
方案2:使用文件B中的图像替换文件A中图像
- Dominant language
- C#
- Stars
- 12.7k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from wmjordan/PDFPatcher
-
360查杀 Open缺陷
Difficulty 4/5 3-5 days Newbie friendliness 35/100
wmjordan/PDFPatcher#314 · 1 comment ·
-
希望添加自定义显示字体的功能 Open书签 改进
wmjordan/PDFPatcher#311 · 3 comments · 1 assignee ·
-
打印预览 Open改进 重复
Difficulty 5/5 Over a week Newbie friendliness 25/100
wmjordan/PDFPatcher#310 · 1 comment ·
-
改进
wmjordan/PDFPatcher#308 · 3 comments · 1 assignee ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
wmjordan/PDFPatcher#307 · 13 comments ·
All issues in wmjordan/PDFPatcher
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
:watch: Not Triaged 11.0 fundamentals/subsvc
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
dotnet/AspNetCore.Docs#37699 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SubtitleEdit/subtitleedit#15108 · 1 comment ·
-
area/docs-content Bug pulumi/docs
Difficulty 1/5 1-3 hours Newbie friendliness 94/100
-
agentic-workflows untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 76/100