visio-image-rebuilder

Rebuild and restyle Visio diagrams from images and .vsdx files via COM automation.

668|31|Updated May 28, 2026
One-click install
npx skills add https://github.com/pengjunchi0/codex-visio-paper-figure-skill --skill visio-image-rebuilder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: visio-image-rebuilder
Source: https://github.com/pengjunchi0/codex-visio-paper-figure-skill/tree/main
Command: npx skills add https://github.com/pengjunchi0/codex-visio-paper-figure-skill --skill visio-image-rebuilder

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Visio, PowerShell, PowerPoint, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows you to reconstruct or restyle Visio diagrams from reference images and existing .vsdx files, providing a seamless experience to maintain or generate complex diagrams.

Core Features & Use Cases

  • Diagram Reconstruction: Transform reference images into Visio diagrams with native shapes and text.
  • Style Transfer: Modify the appearance of existing .vsdx files with new colors, fonts, or layout.
  • Export: Generate deliverables in multiple formats (PNG, SVG, PDF, PPTX) from a .vsdx source.
  • Use Case: You have a complex model diagram in PNG format that you need to convert into a Visio diagram. This Skill can help you achieve that with accuracy and efficiency.

Quick Start

Use the visio-image-rebuilder skill to rebuild the diagram from the provided reference image 'model-image.png' into a Visio .vsdx file and export it as SVG, PDF, and PNG.

Frequently Asked Questions about visio-image-rebuilder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a PNG image to an editable Visio diagram?

To convert a PNG image to an editable Visio diagram, the diagram reconstruction process analyzes the reference image and generates a .vsdx file with native Visio shapes and text. This allows you to edit the complex model diagram directly within Visio.

What is the best way to apply style transfer to an existing .vsdx file?

The best way to apply style transfer to a .vsdx file is using COM automation on Windows to modify the appearance of existing Visio diagrams. This process updates the colors, fonts, and layout while preserving the underlying diagram structure.

Do I need Microsoft Visio and PowerShell installed to automate diagram export?

Yes, you need Microsoft Visio, PowerShell, and PowerPoint installed on Windows to fully automate diagram export. The process uses COM automation to control these applications and generate deliverables in formats like PNG, SVG, PDF, and PPTX.

Can I export a Visio diagram to SVG and PDF formats simultaneously?

Yes, you can export a Visio diagram to SVG and PDF formats simultaneously by processing a .vsdx source file. The COM automation script handles multiple export formats to generate the required deliverables in a single run.

Does Visio COM automation work on macOS or Linux for diagram reconstruction?

No, Visio COM automation for diagram reconstruction works only on Windows. The process relies on the Windows COM interface to control Microsoft Visio, PowerShell, and PowerPoint, which are required dependencies for full functionality.

Why does my Visio style transfer fail when processing complex .vsdx files?

Visio style transfer may fail on complex .vsdx files if the required dependencies are missing or incomplete. Ensure Microsoft Visio, PowerShell, and PowerPoint are properly installed on Windows to support the COM automation needed for diagram reconstruction.