Skip to content

Latest commit

 

History

History
62 lines (39 loc) · 2.4 KB

README.md

File metadata and controls

62 lines (39 loc) · 2.4 KB

PictureCombineTool - 照片、簽名檔合成工具

image

✏️ 概述

將簽名檔圖片與照片合成的 Terminal / Console 程式。

文章 : Medium - Python : 用 PIL 做影像處理(合成)

📕 特色

  • 使用 PIL - Pillow,將已去背的簽名檔圖片與照片合成後輸出。
  • 📁 Picture : 放要進行合成的照片(可放多張)。
  • 📁 SignPicture : 放簽名檔圖片(只能放一張)。
  • 📁 ResultPicture : 結果輸出。
  • 📁 PictureSignPicture 已放置範例圖片供嘗試。
  • 📁 PictureSignPicture 僅接受 'jpg''jpeg''png''gif' 格式。
  • 本範例可在 Windows / macOS 環境下執行。

📗 安裝專案

  1. 本程式執行的最佳環境為:Python3.X,請確認自己的 Python 版本。

  2. Clone / Download 這個專案:

     git clone https://github.com/rf777rf777/PictureCombineTool.git
    
  3. 在 Terminal / Console(cmd) 輸入:

     pip install -r requirements.txt
    

    來安裝需要的 Packages。

📘 使用方法

  1. 📁 Picture 放入即將進行合成的照片或圖片,可放多張image

  2. 📁 SignPicture 放入即將進行合成的簽名檔圖片,只能放一張image

  3. 在 Terminal / Console (cmd) 輸入:

     python combine.py
    
  4. 📁 ResultPicture 執行程式後結果輸出在此。 image

  5. 範例結果,其一:

image

📙 其它參考

應用程式版下載,內附說明,不需安裝Python即可使用:

📚 Library or API Reference

Pillow - ver5.0.0.

📝 License

MIT