skillfed

winrt-Windows.Graphics.Imaging

Python projection of Windows Runtime (WinRT) APIs

winrt-windows-graphics-imaging v3.2.1 119.1K downloads/30d#12,090 on PyPI196
Permissive license MIT AGING released

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-imaging

uv

uv add winrt-windows-graphics-imaging

poetry

poetry add winrt-windows-graphics-imaging

Installing 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

Intended Audience :: DevelopersOperating System :: Microsoft :: WindowsProgramming Language :: Python :: 3Programming Language :: Python :: Implementation :: CPython

Tags

windows graphics imaging pythonwinrt image capture apipython windows sdk graphicscamera imaging windows runtimewinrt bitmap processing
windows-onlyhardware-accesscode-generation

More Graphics packages

pillow

Pillow adds image processing capabilities to…

permissive · top 100 on PyPI

fonttools

fonttools manipulates font files in multiple…

permissive · top 1,000 on PyPI

matplotlib-inline

Enables matplotlib figures to display inline…

permissive · top 1,000 on PyPI

pymupdf

PyMuPDF extracts, renders, converts, and…

agpl · top 1,000 on PyPI

pypdfium2

pypdfium2 is a Python binding to PDFium that…

permissive · top 1,000 on PyPI

altair

Altair is a declarative Python library for…

permissive · top 1,000 on PyPI

winrt-runtime

Provides Python bindings to access Windows…

permissive · top 15,000 on PyPI

dxcam

DXcam captures screen frames on Windows at high…

permissive · top 15,000 on PyPI

winrt-Windows.Foundation

Provides Python bindings to Windows Runtime…

permissive · top 15,000 on PyPI

winrt-Windows.Media.Ocr

Provides Python bindings to Windows Runtime…

permissive · top 15,000 on PyPI

winrt-Windows.Devices.Radios

Provides Python bindings to access Windows…

permissive · top 15,000 on PyPI

winrt-Windows.Storage.Streams

Provides Python bindings to Windows Runtime…

permissive · top 15,000 on PyPI

winrt-Windows.Globalization

Provides Python bindings to Windows Runtime…

permissive · top 15,000 on PyPI

winrt-Windows.Devices.Bluetooth

Provides Python bindings to Windows Runtime…

permissive · top 15,000 on PyPI

winrt-Windows.Devices.Bluetooth.Advertisement

Provides Python bindings to access Windows…

permissive · top 15,000 on PyPI

winrt-Windows.Devices.Enumeration

Provides Python bindings to Windows Runtime…

permissive · top 15,000 on PyPI