Singe file drop-in read/write PPM library for C and C++
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
RWPNM - a one-file drop-in C++ library for working with PPM, PGM and PBM image formats.
|
|
|
|
|
|
|
|
|
|
|
|
--------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
How to use:
|
|
|
|
Either:
|
|
|
|
1) Copy src/pnm.cpp to your project, #include and you`re done ! No
|
|
|
|
other dependencies needed.
|
|
|
|
|
|
|
|
or
|
|
|
|
|
|
|
|
2) Create a dynamic library and use it instead.
|
|
|
|
|
|
|
|
|
|
|
|
--------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
Current version:
|
|
|
|
v0.3
|
|
|
|
|
|
|
|
Status:
|
|
|
|
v0.3
|
|
|
|
Comments are now read correctly; remove all comments at once
|
|
|
|
|
|
|
|
v0.2
|
|
|
|
PPM comments writing/reading support
|
|
|
|
|
|
|
|
v0.1
|
|
|
|
PPM reading, writing
|
|
|
|
|
|
|
|
|
|
|
|
--------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
License:
|
|
|
|
MIT Licese, you are free to do anything, just don`t forget
|
|
|
|
to include the notice.
|