new improved fast and complete PGM implementation
|
|
Bugzilla Link |
922 |
Created on |
Feb 23, 2012 15:28 |
Resolution |
FIXED |
Resolved on |
Mar 04, 2012 17:15 |
Version |
svn |
OS |
Linux |
Architecture |
PC |
Attachments |
SACfastPGM.tar |
Extended Description
Created an attachment (id=854)
Drop in replacement for SAC PGM
PGM is a simple but handy image file format.
The SAC provided PGM implementation has several drawbacks:
- it uses the Grey datastructure which is inefficient
and cumbersome to work with and has incomplete SAC support.
- it doesn't support PGM 16-bit pixels.
- it uses slow stdio routines to parse PGM files.
- due to a bug it is currently unusable.
Attached is a tar file which provides a drop in replacement for the SAC PGM.
The new fast PGM implementation supports the complete PGM spec,
is very fast even for large data files,
detects all invalid data conditions and simply works.
Details are in the source files.
An included test script tests most of the features.