winrt-Windows.Graphics.Imaging
Python projection of Windows Runtime (WinRT) APIs
What it is and what it does
This package is a Python projection of the Windows Runtime Graphics.Imaging namespace, part of the PyWinRT project that exposes Windows SDK APIs to Python. It allows developers to access imaging capabilities—such as cameras, image encoding/decoding, and bitmap manipulation—directly from Python code running on Windows.
The package is built from code generation that wraps native Windows Runtime components, making it a thin binding layer rather than pure Python. It requires winrt-runtime as a foundation and is designed to work alongside other winrt namespace packages for complete application scenarios. Installation is platform-specific, with wheels provided for Windows 32-bit, 64-bit, and ARM64 architectures across Python 3.9 through 3.14.
Use it for:
- Capture images or video frames from connected cameras or USB imaging devices in Windows applications.
- Encode or decode images using Windows-native codecs without external dependencies.
- Build Windows desktop tools that manipulate bitmap data or access imaging hardware directly.
- Integrate imaging capabilities into WinUI 2 or WinUI 3 applications written in Python.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to Windows Runtime (WinRT) graphics imaging APIs, enabling access to image capture and processing capabilities from the Windows SDK.
Yes, if you are building Windows-specific applications that need direct access to imaging hardware or the Windows Graphics.Imaging namespace. MIT license is permissive, maintenance is active, and there are no known vulnerabilities. Not suitable for cross-platform projects.
Install
winrt-windows-graphics-imaging on PyPI
pip
pip install winrt-windows-graphics-imaginguv
uv add winrt-windows-graphics-imagingpoetry
poetry add winrt-windows-graphics-imagingInstalling winrt-Windows.Graphics.Imaging
Before you install
Medium install friction due to platform-specific wheels for Windows only across multiple architectures. Maintenance status is aging with recent activity; requires winrt-runtime as a runtime dependency.
License in practice
MIT license permits commercial and private use with minimal restrictions, suitable for most projects.
Quickstart
pip install winrt-windows-graphics-imaging
from winrt.windows.graphics.imaging import BitmapDecoder
# Use BitmapDecoder or other imaging APIs from the namespace
Windows operating system required; wheels available only for Windows 32-bit, 64-bit, and ARM64 architectures.
Verify before relying
- Whether this package alone is sufficient or if additional winrt namespace packages are typically required for imaging workflows.
- Performance characteristics and memory overhead when processing large images or video streams.
- Compatibility with non-CPython implementations on Windows.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 1 — winrt-runtime |
| Maintenance | aging — 434 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 119,083/month — #12,090 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: winrt_windows_graphics_imaging-3.2.1-cp310-cp310-win32.whl; winrt_windows_graphics_imaging-3.2.1-cp310-cp310-win_amd64.whl; winrt_windows_graphics_imaging-3.2.1-cp310-cp310-win_arm64.whl; winrt_windows_graphics_imaging-3.2.1-cp311-cp311-win32.whl; winrt_windows_graphics_imaging-3.2.1-cp311-cp311-win_amd64.whl; winrt_windows_graphics_imaging-3.2.1-cp311-cp311-win_arm64.whl; winrt_windows_graphics_imaging-3.2.1-cp312-cp312-win32.whl; winrt_windows_graphics_imaging-3.2.1-cp312-cp312-win_amd64.whl; winrt_windows_graphics_imaging-3.2.1-cp312-cp312-win_arm64.whl; winrt_windows_graphics_imaging-3.2.1-cp313-cp313-win32.whl; winrt_windows_graphics_imaging-3.2.1-cp313-cp313-win_amd64.whl; winrt_windows_graphics_imaging-3.2.1-cp313-cp313-win_arm64.whl; winrt_windows_graphics_imaging-3.2.1-cp314-cp314-win32.whl; winrt_windows_graphics_imaging-3.2.1-cp314-cp314-win_amd64.whl; winrt_windows_graphics_imaging-3.2.1-cp314-cp314-win_arm64.whl; winrt_windows_graphics_imaging-3.2.1-cp39-cp39-win32.whl; winrt_windows_graphics_imaging-3.2.1-cp39-cp39-win_amd64.whl; winrt_windows_graphics_imaging-3.2.1-cp39-cp39-win_arm64.whl
Tags
More Graphics packages
Pillow adds image processing capabilities to…
permissive · top 100 on PyPI
fonttoolsfonttools manipulates font files in multiple…
permissive · top 1,000 on PyPI
matplotlib-inlineEnables matplotlib figures to display inline…
permissive · top 1,000 on PyPI
pymupdfPyMuPDF extracts, renders, converts, and…
agpl · top 1,000 on PyPI
pypdfium2pypdfium2 is a Python binding to PDFium that…
permissive · top 1,000 on PyPI
altairAltair is a declarative Python library for…
permissive · top 1,000 on PyPI
winrt-runtimeProvides Python bindings to access Windows…
permissive · top 15,000 on PyPI
dxcamDXcam captures screen frames on Windows at high…
permissive · top 15,000 on PyPI
winrt-Windows.FoundationProvides Python bindings to Windows Runtime…
permissive · top 15,000 on PyPI
winrt-Windows.Media.OcrProvides Python bindings to Windows Runtime…
permissive · top 15,000 on PyPI
winrt-Windows.Devices.RadiosProvides Python bindings to access Windows…
permissive · top 15,000 on PyPI
winrt-Windows.Storage.StreamsProvides Python bindings to Windows Runtime…
permissive · top 15,000 on PyPI
winrt-Windows.GlobalizationProvides Python bindings to Windows Runtime…
permissive · top 15,000 on PyPI
winrt-Windows.Devices.BluetoothProvides Python bindings to Windows Runtime…
permissive · top 15,000 on PyPI
winrt-Windows.Devices.Bluetooth.AdvertisementProvides Python bindings to access Windows…
permissive · top 15,000 on PyPI
winrt-Windows.Devices.EnumerationProvides Python bindings to Windows Runtime…
permissive · top 15,000 on PyPI