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

Numpy Image Preview

Kiameow

|
29,946 installs
| (3) | Free
Preview .npy files in image
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Numpy Image Preview

Numpy Image Preview is a Visual Studio Code extension that allows you to preview in image and inspect NumPy (.npy) data files directly within the VS Code environment.

Features

  • Npy File Preview: Open any .npy file in your workspace and the extension will display the file's metadata and visualize the data either an RGBA image or a grayscale image.
  • Metadata Display: The extension shows the shape and data type.
  • Batch Data Support: You can easily slide the index bar to check any single image in your batched data.
  • Dimension / Layout Semantics Mapping: Eliminate guesswork with customizable dimension semantics. Easily toggle between layouts like BCHW and BHWC to ensure your .npy data is interpreted exactly as intended.
  • Channel Slice Selection: The .npy file may contain multiple channels with mask data stacked together. You can manually specify the starting channel index to preview the desired image channels.

Screenshot

demo1

Usage

Open any .npy file in your VS Code workspace, then you will see the image view of it!

Contributing

We welcome contributions to the Numpy Image Viewer extension! If you encounter any issues or have ideas for new features, please feel free to open an issue or submit a pull request on the project's GitHub repository.

If you find this extension helpful, please share it or star the repository, which means a lot to me. Thanks.

License

This extension is licensed under the MIT License.

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