14,974
edits
(Created page with "PDF 轉換 {{Template:File conversion}} ==== PDF 轉換成純文字 (TXT) ==== * {{Gd}} utility: [https://www.xpdfreader.com/pdftotext-man.html pdftotext] on {{Win}}, {{Mac}}<ref>[https://brewinstall.org/install-pdftotext-mac-osx/ Install pdftotext on Mac OSX - Brew Cask | BrewInstall]</ref> & {{Linux}} ([https://en.wikipedia.org/wiki/Pdftotext pdftotext - Wikipedia | Wikipedia]) {{access | date=2023-06-02}} ** Usage: {{kbd | key=<nowiki>pdftotext [options] [PDF-file [...") |
|||
| Line 17: | Line 17: | ||
* ([[OCR]]) [https://pdfcandy.com/tw/pdf-ocr.html PDF 轉文字–免費線上OCR轉換工具] 免費版限制:一小時轉換一個檔案,檔案大小也有限制{{access | date=2022-10-07}} | * ([[OCR]]) [https://pdfcandy.com/tw/pdf-ocr.html PDF 轉文字–免費線上OCR轉換工具] 免費版限制:一小時轉換一個檔案,檔案大小也有限制{{access | date=2022-10-07}} | ||
* [https://github.com/py-pdf/pdfly py-pdf/pdfly: CLI tool to extract (meta)data from PDF and manipulate PDF files] "A {{Acronym| acronym=CLI| def=命令列介面(英語:Command-line interface)}} application that uses [https://github.com/py-pdf/pdfly pypdf] to interact with PDFs." | [https://www.xpdfreader.com/index.html XpdfReader] [https://www.xpdfreader.com/pdftotext-man.html pdftotext] | ||
* License: "The xpdf package is open source, dual licensed under GPL v2 and GPL v3."<ref>[https://www.xpdfreader.com/opensource.html Xpdf Open Source]</ref> {{Gd}} | |||
* Usage: {{kbd | key=<nowiki>pdftotext -enc UTF-8 PDF-file text-file</nowiki>}} | |||
** Requirement: [https://www.python.org/downloads/ Python] | |||
[https://github.com/py-pdf/pdfly py-pdf/pdfly: CLI tool to extract (meta)data from PDF and manipulate PDF files] "A {{Acronym| acronym=CLI| def=命令列介面(英語:Command-line interface)}} application that uses [https://github.com/py-pdf/pdfly pypdf] to interact with PDFs." | |||
* License: [https://github.com/py-pdf/pdfly/blob/main/LICENSE BSD 3-Clause License] {{Gd}} | |||
* Usage: {{kbd | key=<nowiki>pdfly extract-text PDF-file > text-file</nowiki>}} | |||
* Known issues: On Windows systems with Chinese locales (cp950), PDF text extraction may fail with Unicode encoding errors when encountering certain special characters like '\u25aa' (BLACK SMALL SQUARE). This is a character encoding limitation of the default Windows codepage. | |||
* Requirement: [https://www.python.org/downloads/ Python] | |||
==== PDF 轉換成 Word 或 RTF ==== | ==== PDF 轉換成 Word 或 RTF ==== | ||