Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Avif PreviewNew to Visual Studio Code? Get it now.
Avif Preview

Avif Preview

ovcharovcoder

|
4 installs
| (0) | Free
Preview AVIF images directly in Visual Studio Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Avif Preview

VS Code Marketplace GitHub Stars License

Avif Preview Banner

Avif Preview — A Visual Studio Code extension that enables reliable preview of AVIF images in a dedicated panel, featuring zoom and panning capabilities.


✨ Features

  • 🖼 Full AVIF preview — View *.avif files in a dedicated Webview panel via context menu.
  • 🔍 Zoom — Scale images using the mouse wheel (from 0.5× to 10×) or click.
  • 🖱 Panning — Drag the image with the mouse when zoomed for detailed inspection.
  • 🌙 VS Code theme adaptation — Automatically utilizes editor colors for the background.
  • 🔄 Automatic refresh — The image updates upon file changes.
  • 🛡️ Secure rendering — Utilizes Webview with Content-Security-Policy.

Note: Native VS Code image preview does not support AVIF files when double-clicking (as of December 2025). This extension fills that gap.


🛠 Installation and Usage

  1. Open VS Code → Extensions (Ctrl+Shift+X).
  2. Search for Avif Preview and click Install.

To preview an AVIF image:

  • Right-click on any file with the .avif extension in the Explorer panel.
  • Select Open AVIF Preview from the context menu.

This opens the image in a dedicated panel with full interactive features.


🧩 Contributing

Found a bug or want to suggest an improvement?
Open an issue or pull request on GitHub.


👤 Author

Andriy Ovcharov Andriy Ovcharov 📧 ovcharovcoder@gmail.com

☕ Support

If you enjoy Avif Preview, consider supporting the author:
Donate via PayPal


🪪 License

Released under the MIT License

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft