A module in Python3 providing a bridge with the Windows Imaging Component (WIC) framework
Project description
WICPy
A module in Python3 providing a bridge with the Windows Imaging Component (WIC) framework
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
WICPy defines Python (>=v3.8) classes wrapping the COM interfaces, bringing access to their methods and coordinating the memory managed and unmanaged modes of the resources from either side.
The COM library must be initialized for each thread creating from scratch a new component by calling Initialize() and therefore uninitialized at the end by calling Uninitialize(), after having released all interfaces.
Bases of wrappers for Direct2D, Direct3D 11 and DXGI interfaces involved in interoperability with WIC are made available.
WICPy also gives access to the Windows Media Player photo library.
The script test.py illustrates how to use the module through various applications.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file wicpy-1.2.0.tar.gz
.
File metadata
- Download URL: wicpy-1.2.0.tar.gz
- Upload date:
- Size: 739.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6babc5d09b3754d7450bd011c74bce7e72337e2c934d0efd48f52f58a0c4de6 |
|
MD5 | 59ce10b884c660464cf3adf79baf196f |
|
BLAKE2b-256 | 649bb8c814b1558f737c36a136d3f6579f6e6ca34a300486c13bbf9cc494d837 |
File details
Details for the file WICPy-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: WICPy-1.2.0-py3-none-any.whl
- Upload date:
- Size: 737.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b922f1b9a34fd2c48d8ce467a8852b863aa39c4cc855f2ed5b51d1fa10f1bfa |
|
MD5 | 9c38da1446c080a0f5cfaf2b3c48bf90 |
|
BLAKE2b-256 | 0f0cec78df7d786d46d56a74e460d0fad745fd08a74bc23e2a926afa5454c54e |