Convert many images to one PDF on Mac

From LemonWiki共筆
Jump to navigation Jump to search

將多張影像轉成單一 PDF 檔的步驟

方案1:使用 ImageMagick,將多個影像 -> 合併成一個 PDF 檔[edit]

  1. 安裝 ImageMagick:終端機輸入指令 brew install imagemagick
  2. 切換到包含你要轉換的圖片的資料夾。使用 cd指令來切換目錄,例如: cd ~/Desktop/my_images
    • PDF 頁面順序與檔名排序結果相同。
  3. 執行 ImageMagick 的 convert 指令,將多張圖片合併成 PDF 。指令格式為:convert *.jpg output.pdf。這會將目前目錄下所有 jpg 圖片合併成一個名為 output.pdf 的 PDF 檔案。
    • 如果你的圖片不是 jpg 格式,只需將 *.jpg 更改為相應的檔案格式,例如 *.png。

方案2:使用預覽程式,將多個影像 -> 合併成一個 PDF 檔[edit]

  1. 建議將要轉換的影像檔放在同一個資料夾
  2. 影像檔命名方式: 例如影像檔名依照數字編號命名[1]、或者逐張影像檔下載,就可以依照「修改時間」由舊到新排序
  3. Finder 選擇依照檔案名稱排序 Icon_exclaim.gif 如果選擇按照「修改時間」由舊到排序,PDF 檔內的各頁圖檔會依照「修改時間」由舊到排序
  4. Finder 內選擇全部影像 (快速鍵: 按 ⌘ command + a )、或者自行選擇要轉換的多張影像
  5. ⌘ command + ,打開「預覽程式」
  6. 預覽程式左方的「縮覽圖」確認影像順序
  7. 選單: 檔案 -> 列印 Icon_exclaim.gif 注意:不是選「輸出為 PDF」,會變成將第一頁圖片轉換成 PDF!
  8. 確認「方向」是橫印或直印,避免輸出的 PDF 檔案還需要後製旋轉 90 度 (如果是橫印,點選選單: 工具 --> 向右旋轉)
  9. 對話方框左下角,點選「顯示詳細資訊」按鈕
  10. 對話方框左下角,PDF 改成選擇「儲存為 PDF」

圖文教學:

方案3:多個影像 -> 多個 PDF 檔 -> 合併成一個 PDF 檔[edit]

步驟1: 多個影像 -> 轉換成多個 PDF 檔[edit]

  1. Finder 選擇多張影像:(1) 需要同樣的圖片格式,例如都是 png 不能夾雜 jpg、(2) 檔案顯示的順序,代表 PDF 看到的頁數順序。習慣上使用頁碼當作檔名。
  2. ⌘ command + ,打開「預覽程式」
  3. ⌘ command + a 選擇所有縮圖
  4. 選單: 「檔案」 -> 「輸出所選影像」 Icon_exclaim.gif 注意,不是選擇「輸出為 PDF 」,因為只會輸出一張圖為 PDF
  5. 「顯示選項」: 格式選擇 PDF
  6. 建議建立新資料夾,放置 PDF 檔
  7. ⌘ 選擇。將會產生多個 PDF 檔

步驟2: 多個PDF -> 合併成一個 PDF 檔[edit]

使用合併 PDF 檔案的軟體

或用 Finder 輸出成 PDF

  1. Finder 切換到 PDF 資料夾,選擇多個 PDF 檔
  2. ⌘ command + ,打開「預覽程式」
  3. 滾動捲軸,到最後一頁 PDF 縮圖
  4. ⌘ command + a 選擇所有縮圖
  5. 將選取的所有縮圖,拖曳到最後一頁縮圖內。將會堆疊全部 PDF 頁面。
  6. 選取最後一頁 PDF 縮圖。選單: 檔案 -> 輸出為 PDF。



How to convert many images to one PDF with Preview on Mac

step1: multiple images -> PDF files

  1. Finder: Select multiple images
  2. Press ⌘ command + to open multiple images with Preview
  3. Press ⌘ command + a to select all thumbnail images.
  4. File menu and choose “Export Selected Images…”
  5. Format: Choose "PDF"
  6. Suggest to create a new folder for saving PDF files
  7. Press ⌘ choose. It will generates multiple PDF files

step2: combine multiple PDF files to one PDF file

  1. Finder: Switch to the pdf folder and select multiple PDF files
  2. Press ⌘ command + to open multiple PDF files with Preview
  3. Scroll down to the last PDF thumbnail
  4. Press ⌘ command + a to select all PDF thumbnails.
  5. Drag the selected all PDF thumbnails INTO the last PDF thumbnail.
  6. Select the the last PDF thumbnail. File menu and choose “Export PDF”

other similar tools

References[edit]

further reading