品喬
  • NEW!
    NEW!  Connect Ideas Across Notes
    Save time and share insights. With Paragraph Citation, you can quote others’ work with source info built in. If someone cites your note, you’ll see a card showing where it’s used—bringing notes closer together.
    Got it
      • Create new note
      • Create a note from template
        • Sharing URL Link copied
        • /edit
        • View mode
          • Edit mode
          • View mode
          • Book mode
          • Slide mode
          Edit mode View mode Book mode Slide mode
        • Customize slides
        • Note Permission
        • Read
          • Only me
          • Signed-in users
          • Everyone
          Only me Signed-in users Everyone
        • Write
          • Only me
          • Signed-in users
          • Everyone
          Only me Signed-in users Everyone
        • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invite by email
        Invitee

        This note has no invitees

      • Publish Note

        Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

        Your note will be visible on your profile and discoverable by anyone.
        Your note is now live.
        This note is visible on your profile and discoverable online.
        Everyone on the web can find and read all notes of this public team.

        Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

        Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

        Explore these features while you wait
        Complete general settings
        Bookmark and like published notes
        Write a few more notes
        Complete general settings
        Write a few more notes
        See published notes
        Unpublish note
        Please check the box to agree to the Community Guidelines.
        View profile
      • Commenting
        Permission
        Disabled Forbidden Owners Signed-in users Everyone
      • Enable
      • Permission
        • Forbidden
        • Owners
        • Signed-in users
        • Everyone
      • Suggest edit
        Permission
        Disabled Forbidden Owners Signed-in users Everyone
      • Enable
      • Permission
        • Forbidden
        • Owners
        • Signed-in users
      • Emoji Reply
      • Enable
      • Versions and GitHub Sync
      • Note settings
      • Note Insights New
      • Engagement control
      • Make a copy
      • Transfer ownership
      • Delete this note
      • Save as template
      • Insert from template
      • Import from
        • Dropbox
        • Google Drive
        • Gist
        • Clipboard
      • Export to
        • Dropbox
        • Google Drive
        • Gist
      • Download
        • Markdown
        • HTML
        • Raw HTML
    Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
    Create Create new note Create a note from template
    Menu
    Options
    Engagement control Make a copy Transfer ownership Delete this note
    Import from
    Dropbox Google Drive Gist Clipboard
    Export to
    Dropbox Google Drive Gist
    Download
    Markdown HTML Raw HTML
    Back
    Sharing URL Link copied
    /edit
    View mode
    • Edit mode
    • View mode
    • Book mode
    • Slide mode
    Edit mode View mode Book mode Slide mode
    Customize slides
    Note Permission
    Read
    Only me
    • Only me
    • Signed-in users
    • Everyone
    Only me Signed-in users Everyone
    Write
    Only me
    • Only me
    • Signed-in users
    • Everyone
    Only me Signed-in users Everyone
    Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.

    Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Explore these features while you wait
    Complete general settings
    Bookmark and like published notes
    Write a few more notes
    Complete general settings
    Write a few more notes
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    1
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # 大量照片匯入表格工具 ###### tags: `picture`,`process`,`table`,`FilePaster6`,`照片`,`自動匯入` > :house: [**返回主頁**](https://hackmd.io/@Fattycat/main) > :link: 工具下載:[[**版本六**]](https://drive.google.com/file/d/1bDe1L6w6UyiZjDfIDjFuO8XexxEElBAL/view?usp=sharing)[[**版本七**]](https://drive.google.com/file/d/1CPRTCpxDqSBysBd3uekx0GpOhBWbzmwx/view?usp=share_link) --- ## :memo: 緣由 ### Reason 1: 單位需求 - [x] 彙整案件資料階段時,因現場拍攝多張照片或多張系統產出影像,需整理後一一貼入自製表格中,人工作法曠日廢時 - [x] 舊系統在部分電腦無法運作。 ### Reason 2: 提升實力 - [x] 看看能否用python解決 --- ## :memo: 程式介紹 :::info ### 執行檔位置: .\FilePaster6\FilePaster6.dist\FilePaster6.exe ### 執行檔圖像:黑貓 ### 注意: * 先至FilePaster6\FilePaster6.dist\docx\templates資料夾下,將default.docx解密。 * 目前適用於x64位元環境。 ::: ### 介面 * 右側為**圖片預覽區** * 左側為**資料輸入區** * 資料輸入區內分**一般頁籤**及**刑事頁籤**(第六版),還有**手機截圖頁籤**(第七版) * 一般頁籤 提供使用者簡便輸登,包含**標題、說明及圖片**。 ![](https://hackmd.io/_uploads/SyCyQlrj3.png) * 刑事頁籤 提供使用者包含**日期、單位、案由、攝影人、攝影地點、說明及圖片**。 ![](https://hackmd.io/_uploads/SJmZXxri2.png) * 手機截圖頁籤 提供使用者包含**日期、單位、案由、攝影人、攝影地點、說明及圖片**。 ![](https://hackmd.io/_uploads/rJiSzlBs3.png) ### 功能 * **TextBox** * **請輸入標題**:一般功能不限制特定單位使用,使用者能夠依自身需求設定標題;刑事功能則預設為「刑案現場照片」。 * **請輸入說明**:此欄位與刑事功能的「說明」欄位一樣,使用者可以將固定描述字串填入照片說明,等到檔案建立完成後,再自行依所屬圖片更改描述。 * **年**:使用者填入「年份」。 * **月**:使用者填入「月份」。 * **日**:使用者填入「日期」。 * **單位**:使用者填入「所屬單位」。 * **案由**:使用者填入「案件名稱」。 * **攝影人**:使用者填入「拍攝照片同仁名字」。 * **攝影地點**:使用者填入「照片攝影地點」。 * **說明**:此欄位與一般功能的「請輸入說明」欄位一樣,使用者可以將固定描述字串填入照片說明,等到檔案建立完成後,再自行依所屬圖片更改描述。 * **Button** * **開啟檔案**: * 開啟選擇圖片視窗,格式包含.jpg、.jpeg、.png、.bmp、.gif、.tiff、.ico等。 * 可選擇多檔案,無法跨資料夾選擇。 * 所選擇的照片路徑會呈現在下方空白處。 * **確定**: * 開啟.docx檔儲存視窗,選擇檔案儲存位置。 * **ListBox** * **「開啟檔案」按鈕下方區域** * 所選擇的照片路徑會呈現此處。 * 點擊路徑後,右側圖片預覽區會預覽圖片。 * 長按路徑可上下拖曳,改變圖片順序。 ### 匯出結果 * 一般功能 * 檔案標頭可以調整內容 * 圖片欄位左上角標示第幾張圖 * 自動壓縮圖片大小,讓表格不至於變形 :::info ![](https://i.imgur.com/sMizBPj.jpg) ::: * 刑事功能 * 檔案標頭為固定內容 * 增加「案次編號」使用者紀錄 * 圖片欄位左上角標示第幾張圖 * 自動壓縮圖片大小,讓表格不至於變形 :::info ![](https://i.imgur.com/pg4lvDP.jpg) ::: * 手機截圖功能 * 檔案標頭為固定內容 * 增加「案次編號」使用者紀錄 * 圖片欄位左上角標示第幾張圖 * 自動壓縮圖片大小,讓表格不至於變形 :::info ![](https://hackmd.io/_uploads/B19cOlBjh.png) ::: --- ## :memo: 版本更新 ### 第1版 * 建立資料統一輸入及匯出功能,大量減少人工張貼時間。 * 解決x32系統位元環境無法使用的問題。 ### 第2版: * 由於第1版程式開啟速度須30秒至1分鐘,較不符合使用者習慣,經與使用者討論後,將FilePaster1.0程式從原本「-onefile」改以「-onedir」打包,解決開啟程式速度過慢的問題。 ### 第3版: * 本程式係依「鋼鐵人」程式為基準設計,使用者操作上,因圖片匯入程式後便無法更改順序,故需先將欲匯入的照片排序及編碼,匯出檔案方能符合使用者需求;經與使用者討論後,將FilePaster2.0增加圖片排序功能,大大解決無法排序問題。 ### 第4版: * 使用者在操作第3版時,發現固然增加排序功能,依使用者習慣來說,通常照片檔名無法立即與照片內容連結,仍需開啟照片檔才能知道照片內容;經與使用者討論後,將FilePaster3.0程式加入pillow module,以增加圖片預覽功能。 ### 第5版: * 增加圖片編碼功能。 ### 第6版: * 經與使用者討論後,將F-secure偵測白名單加入FilePaster5.0程式的MD5雜湊值,解決程式「遭防毒軟體偵測有Trojan: W32Injector. A!DeepGuard」的情形,但出現「Windows 無法存取指定的裝置、路徑或檔案」的情形,且非長久之計。 * 後將原本以pyinstaller module打包的方式,改成以nuitka module打包,成功解決在部分環境作業,程式「遭防毒軟體偵測有Trojan: W32Injector.A!DeepGuard」及「Windows 無法存取指定的裝置、路徑或檔案」的情形。 ### 第7版: * 增加手機截圖(直立式截圖)照片匯入頁籤。 --- ## :memo: 目前問題 * 在Win7 64位元環境執行出現「系統錯誤-無法啟動程式,因為您的電腦遺失api-ms-win-core-path-|1-1-0.dll。請嘗試重新安裝以修正這個問題。 * 照片畫素太高,系統會在點擊「確認」鍵後,無後續結果。

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password
    or
    Sign in via Google Sign in via Facebook Sign in via X(Twitter) Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    By signing in, you agree to our terms of service.

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully