Convert many images to one PDF on Mac: Difference between revisions
Jump to navigation
Jump to search
Tags: Mobile edit Mobile web edit |
|||
| (15 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
將多張影像轉成單一 PDF 檔的步驟 | 將多張影像轉成單一 PDF 檔的步驟 | ||
== | == 方案1:使用 ImageMagick,將多個影像 -> 合併成一個 PDF 檔 == | ||
# | # 安裝 [https://imagemagick.org/index.php ImageMagick]:終端機輸入指令 {{kbd | key=brew install imagemagick}} | ||
# Finder 選擇依照檔案名稱排序 {{exclaim}} | # 切換到包含你要轉換的圖片的資料夾。使用 cd指令來切換目錄,例如: {{kbd | key=<nowiki>cd ~/Desktop/my_images</nowiki>}}。 | ||
# Finder | #* PDF 頁面順序與檔名排序結果相同。 | ||
# 執行 ImageMagick 的 convert 指令,將多張圖片合併成 PDF 。指令格式為:{{kbd | key=<nowiki>convert *.jpg output.pdf</nowiki>}}。這會將目前目錄下所有 jpg 圖片合併成一個名為 output.pdf 的 PDF 檔案。 | |||
#* 如果你的圖片不是 jpg 格式,只需將 *.jpg 更改為相應的檔案格式,例如 *.png。 | |||
== 方案2:使用預覽程式,將多個影像 -> 合併成一個 PDF 檔 == | |||
# 建議將要轉換的影像檔放在同一個資料夾 | |||
# 影像檔命名方式: 例如影像檔名依照數字編號命名<ref>[https://www.tekrevue.com/tip/batch-rename-files-os-x-yosemite/ How to Batch Rename Multiple Files in OS X Yosemite]</ref>、或者逐張影像檔下載,就可以依照「修改時間」由舊到新排序 | |||
# Finder 選擇依照檔案名稱排序 {{exclaim}} 如果選擇按照「修改時間」由舊到排序,PDF 檔內的各頁圖檔會依照「修改時間」由舊到排序 | |||
# Finder 內選擇全部影像 (快速鍵: 按 {{kbd | key=⌘ command}} + {{kbd | key= a}} )、或者自行選擇要轉換的多張影像 | |||
# 按 {{kbd | key=⌘ command}} + {{kbd | key= ↓}} ,打開「預覽程式」 | # 按 {{kbd | key=⌘ command}} + {{kbd | key= ↓}} ,打開「預覽程式」 | ||
# 選單: 檔案 -> 列印 | # 預覽程式左方的「縮覽圖」確認影像順序 | ||
# 選單: 檔案 -> 列印 {{exclaim}} 注意:不是選「輸出為 PDF」,會變成將第一頁圖片轉換成 PDF! | |||
# 確認「方向」是橫印或直印,避免輸出的 PDF 檔案還需要後製旋轉 90 度 (如果是橫印,點選選單: 工具 --> 向右旋轉) | |||
# 對話方框左下角,點選「顯示詳細資訊」按鈕 | # 對話方框左下角,點選「顯示詳細資訊」按鈕 | ||
# 對話方框左下角,PDF 改成選擇「儲存為 PDF」 | # 對話方框左下角,PDF 改成選擇「儲存為 PDF」 | ||
圖文教學: [ | 圖文教學: | ||
* [http://www.kocpc.com.tw/archives/13991 不用安裝任何程式,透過Mac內建的"預覽程式"就能夠將多張圖片轉成PDF檔 | 電腦王阿達] | |||
* [https://support.apple.com/zh-tw/HT4075 Mac OS X v10.6:如何使用預覽程式合併 PDF 文件 - Apple 支援] | |||
== | == 方案3:多個影像 -> 多個 PDF 檔 -> 合併成一個 PDF 檔 == | ||
=== 步驟1: 多個影像 -> 轉換成多個 PDF 檔 === | === 步驟1: 多個影像 -> 轉換成多個 PDF 檔 === | ||
# Finder | # Finder 選擇多張影像:(1) 需要同樣的圖片格式,例如都是 png 不能夾雜 jpg、(2) 檔案顯示的順序,代表 PDF 看到的頁數順序。習慣上使用頁碼當作檔名。 | ||
# 按 {{kbd | key=⌘ command}} + {{kbd | key= ↓}} ,打開「預覽程式」 | # 按 {{kbd | key=⌘ command}} + {{kbd | key= ↓}} ,打開「預覽程式」 | ||
# 按 {{kbd | key=⌘ command}} + {{kbd | key= a}} 選擇所有縮圖 | # 按 {{kbd | key=⌘ command}} + {{kbd | key= a}} 選擇所有縮圖 | ||
# 選單: | # 選單: 「檔案」 -> 「輸出所選影像」 {{exclaim}} 注意,不是選擇「輸出為 PDF 」,因為只會輸出一張圖為 PDF | ||
# | # 「顯示選項」: 格式選擇 PDF | ||
# 建議建立新資料夾,放置 PDF 檔 | # 建議建立新資料夾,放置 PDF 檔 | ||
# 按 {{kbd | key=⌘ 選擇}}。將會產生多個 PDF 檔 | # 按 {{kbd | key=⌘ 選擇}}。將會產生多個 PDF 檔 | ||
| Line 25: | Line 36: | ||
=== 步驟2: 多個PDF -> 合併成一個 PDF 檔 === | === 步驟2: 多個PDF -> 合併成一個 PDF 檔 === | ||
使用合併 PDF 檔案的軟體 | 使用合併 PDF 檔案的軟體 | ||
* | * [[PDF split and merge tools]] | ||
或用 Finder 輸出成 PDF | 或用 Finder 輸出成 PDF | ||
| Line 59: | Line 70: | ||
* ''$'' [http://icecreamapps.com/PDF-Split-and-Merge/ PDF Split & Merge: split PDF or/and merge PDF files free on Windows and Mac - Icecream Apps] | * ''$'' [http://icecreamapps.com/PDF-Split-and-Merge/ PDF Split & Merge: split PDF or/and merge PDF files free on Windows and Mac - Icecream Apps] | ||
== | == References == | ||
<references /> | <references /> | ||
Latest revision as of 11:35, 10 November 2023
將多張影像轉成單一 PDF 檔的步驟
方案1:使用 ImageMagick,將多個影像 -> 合併成一個 PDF 檔[edit]
- 安裝 ImageMagick:終端機輸入指令 brew install imagemagick
- 切換到包含你要轉換的圖片的資料夾。使用 cd指令來切換目錄,例如: cd ~/Desktop/my_images。
- PDF 頁面順序與檔名排序結果相同。
- 執行 ImageMagick 的 convert 指令,將多張圖片合併成 PDF 。指令格式為:convert *.jpg output.pdf。這會將目前目錄下所有 jpg 圖片合併成一個名為 output.pdf 的 PDF 檔案。
- 如果你的圖片不是 jpg 格式,只需將 *.jpg 更改為相應的檔案格式,例如 *.png。
方案2:使用預覽程式,將多個影像 -> 合併成一個 PDF 檔[edit]
- 建議將要轉換的影像檔放在同一個資料夾
- 影像檔命名方式: 例如影像檔名依照數字編號命名[1]、或者逐張影像檔下載,就可以依照「修改時間」由舊到新排序
- Finder 選擇依照檔案名稱排序
如果選擇按照「修改時間」由舊到排序,PDF 檔內的各頁圖檔會依照「修改時間」由舊到排序 - Finder 內選擇全部影像 (快速鍵: 按 ⌘ command + a )、或者自行選擇要轉換的多張影像
- 按 ⌘ command + ↓ ,打開「預覽程式」
- 預覽程式左方的「縮覽圖」確認影像順序
- 選單: 檔案 -> 列印
注意:不是選「輸出為 PDF」,會變成將第一頁圖片轉換成 PDF! - 確認「方向」是橫印或直印,避免輸出的 PDF 檔案還需要後製旋轉 90 度 (如果是橫印,點選選單: 工具 --> 向右旋轉)
- 對話方框左下角,點選「顯示詳細資訊」按鈕
- 對話方框左下角,PDF 改成選擇「儲存為 PDF」
圖文教學:
方案3:多個影像 -> 多個 PDF 檔 -> 合併成一個 PDF 檔[edit]
步驟1: 多個影像 -> 轉換成多個 PDF 檔[edit]
- Finder 選擇多張影像:(1) 需要同樣的圖片格式,例如都是 png 不能夾雜 jpg、(2) 檔案顯示的順序,代表 PDF 看到的頁數順序。習慣上使用頁碼當作檔名。
- 按 ⌘ command + ↓ ,打開「預覽程式」
- 按 ⌘ command + a 選擇所有縮圖
- 選單: 「檔案」 -> 「輸出所選影像」
注意,不是選擇「輸出為 PDF 」,因為只會輸出一張圖為 PDF - 「顯示選項」: 格式選擇 PDF
- 建議建立新資料夾,放置 PDF 檔
- 按 ⌘ 選擇。將會產生多個 PDF 檔
步驟2: 多個PDF -> 合併成一個 PDF 檔[edit]
使用合併 PDF 檔案的軟體
或用 Finder 輸出成 PDF
- Finder 切換到 PDF 資料夾,選擇多個 PDF 檔
- 按 ⌘ command + ↓ ,打開「預覽程式」
- 滾動捲軸,到最後一頁 PDF 縮圖
- 按 ⌘ command + a 選擇所有縮圖
- 將選取的所有縮圖,拖曳到最後一頁縮圖內。將會堆疊全部 PDF 頁面。
- 選取最後一頁 PDF 縮圖。選單: 檔案 -> 輸出為 PDF。
How to convert many images to one PDF with Preview on Mac
step1: multiple images -> PDF files
- Finder: Select multiple images
- Press ⌘ command + ↓ to open multiple images with Preview
- Press ⌘ command + a to select all thumbnail images.
- File menu and choose “Export Selected Images…”
- Format: Choose "PDF"
- Suggest to create a new folder for saving PDF files
- Press ⌘ choose. It will generates multiple PDF files
step2: combine multiple PDF files to one PDF file
- Finder: Switch to the pdf folder and select multiple PDF files
- Press ⌘ command + ↓ to open multiple PDF files with Preview
- Scroll down to the last PDF thumbnail
- Press ⌘ command + a to select all PDF thumbnails.
- Drag the selected all PDF thumbnails INTO the last PDF thumbnail.
- Select the the last PDF thumbnail. File menu and choose “Export PDF”
other similar tools
References[edit]
further reading