Image to Word
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @user_b5338866/image-to-docx.
About this skill
What It Solves
Text, tables, and signature lines in images are hard to edit directly. Scanned forms, meeting-note photos, receipts, and signage may need to become editable Word documents, without manually retyping text, rebuilding tables, or re-setting layout. This skill connects image reading, structure extraction, and .docx generation into one workflow.
How It Works
It first reads and analyzes the image, identifying:
- Titles, body text, and paragraph hierarchy
- Tables, fill-in fields, and underline blanks
- Signature/date areas
- Alignment, indentation, and formatting cues
It then uses docx-js in a Node.js environment to generate the document. Key steps include setting A4 page size, specifying a Chinese font such as FangSong at 12pt, using full-width spaces for fill-in underlines, and preserving centered titles and paragraph indentation. The script writes the final .docx to the workspace and keeps the temporary script for review.
Boundaries and Notes
It fits text-, form-, and document-like images that need to become editable files, but it does not guarantee OCR accuracy. Complex handwriting, rotated pages, and dense multi-column layouts may need manual review. Chinese body text is handled with common official-document font and size assumptions; if the target requires other fonts, margins, or table styles, adjust them explicitly in the generation script.
Use Cases
- Turn meeting-note photos into editable Word files while keeping titles, body text, and signature areas.
- Recover fill-in fields and underline blanks from scanned images into Word tables or paragraphs.
- Reformat receipts or signage text into A4 Chinese documents for later editing.
- Generate editable docx files from government form photos while preserving titles, dates, and signature zones.
Best For
- Administrative staff who need to digitize paper forms and edit their fields
- Assistants who organize meeting-note photos into formal Word documents
- Archivists who process scanned forms and preserve fill-in areas
- Office workers who want image text converted to docx for manual review
Related Skills
Runs rule and semantic checks on Word files, adds comments, and applies GB/T 9704-2012 party/government formatting.
Generate professional .pptx presentations from a topic or outline, with themes, common layouts, speaker notes, and 16:9/4:3 support.
Generates a fixed-structure A-share tech daily across five tracks, screening 24-hour news and selecting leader and growth stocks.
Convert teaching schedules from talent development plan PDFs into structured Excel files, with cross-page tables, merged cells, multi-semester course splitting, major metadata extraction, and batch output.