Releases: Dnyarri/PyPNM
Minor changes
Main version: minor changes in list2bin. Main viewer.py got several improvements.
Python 3.4 compliant version updated accordingly.
Simplified export / import pattern added
PyPNM access scheme was significantly simplified (although old import still work, so there's no need to rewrite old programs).
Docs chaged accordingly.
Build system chaged.
PyPNM for Python 3.4 updated as well.
Wheels attached:
| Wheel version | Download link |
|---|---|
| PyPNM 2.26.23.23 for Python >= 3.10 | pypnm-2.26.23.23-py3-none-any.whl |
| PyPNM 2.26.22.34 for Python >= 3.4 | pypnm-2.26.22.34-py3-none-any.whl |
Maintenance
Update mostly of interest for developers, centered on presumably more clear docs. In general, version is quite stable, and raise exceptions only when something really stupid happens, like trying to write negative colors etc.
Having a ReST
PyPNM update mostly centered on docstrings turning to a more helpful ReST-compliant form.
2 Sep 2025 "Victory II" for Python 3.4 - 3.10
PyPNM upgraded to version 2. Upgrade includes numerous internal changes aimed to save resources, i.e.:
- using mmap instead of direct reading;
- using generators wherever possible.
Module input and output types and structures remain the same as for 9 May "Victory", making ver. 2 fully interchangeable with ver. 1.
2 Sep 2025 "Victory II" for Python 3.11 and above
PyPNM upgraded to version 2. Upgrade includes numerous internal changes aimed to save memory, namely:
- using mmap instead of direct file reading;
- using generators wherever possible (sometimes even where memory savings are minimal, but why not, раз пошла такая пьянка - режь последний огурец!)
Module input and output types and structures remain the same as for 9 May "Victory", making ver. 2 fully interchangeable with ver. 1. PyPNM documentation also remain unaltered and valid.
Viewer command line support
Update mostly related to Viewer.py and includes minor GUI update and, most interesting, command line support. Now you may use commans like
python viewer.py filename.ppm
to open PPM, PGM and PBM image files.
This release is main version (Python 3.11 and above); corresponding files for Python 3.4 and above are available at 2.20.4.34 tag.
NOTE: This release contain a workaround for Python deprecations, which affected previous release under some circumstances. Previous release of 2.20.4.20 to be deleted.
9 May 2025 "Victory" release, maximum compatibility
Maximum compatibility branch .py34 major update. Forced 8 bit preview for 16 bit images when running under old versions of Python. Supposedly perfect in terms of compatibility.
9 May 2025 "Victory" release, main branch (Python 3.11 and above)
Optimized main version. Does not contain compatibility workarounds from maximum compatibility branch, and therefore works faster.
1.16.12.34 Maintenance
Maintenance release, more attempts at RAM cleanup.