Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Dark Theme Image ViewNew to Visual Studio Code? Get it now.
Dark Theme Image View

Dark Theme Image View

Daucloud

|
90 installs
| (0) | Free
Make transparent backgrounds white in dark theme for better image visibility
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Dark Theme Image View

License: MIT

A Visual Studio Code extension that provides enhanced image viewing capabilities with special support for dark theme environments.

👀 preview

Dark theme without extension      Dark theme with extension

Left: Dark theme without extension | Right: Dark theme with extension enabled

✨ Features

  • 🎨 Transparent Background Handling: Automatically converts transparent backgrounds to white in dark theme mode
  • 🖱️ Interactive Viewing:
    • 🔍 Zoom in/out using Ctrl/Cmd + Mouse Wheel
    • 🎯 Pan image by dragging with mouse
  • 📂 Supported Formats:
    • PNG files
    • SVG files

🚀 Usage

  1. Open any PNG or SVG file in VS Code. The image will automatically open in the custom viewer, and In dark theme, transparent backgrounds will be rendered as white.
  2. You may use mouse controls to interact with the image:
    • 👆 Hold and drag to pan
    • ⚡ Ctrl/Cmd + scroll to zoom
  3. To switch to a different editor, right-click the file in the Explorer and select "Open With..." from the context menu.

📋 Requirements

  • VS Code 1.74.0 or higher

💻 Installation

  1. Install through VS Code Marketplace
  2. Reload VS Code
  3. Open any PNG/SVG file to start using

⚙️ Configuration

This extension works out of the box with no additional configuration required.

🤝 Contributing

Found a bug or have a feature request? Please open an issue on the GitHub repository.

📄 License

MIT License

🙏 Credits

README and icon are generated with the assistance of Claude AI.

🔗 Links

  • VS Code Marketplace
  • GitHub Repository
  • Report an Issue
  • Changelog
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft