Handle DIP image headers
It should never be necessary to use these functions/classes.
Rather use the general interfaces in imagereader and imagewriter
to access general image and header data.
|
Functions
|
|
Build Default Read Scan
|
|
|
Build
|
Build ( h )
Convert a header record h to a binary string suitable as DIP file header |
|
|
Default
|
Default ()
Make a dummy DIP header. |
|
|
Read
|
Read ( filename )
Read the header from the named DIP image file. |
|
|
Scan
|
Scan ( s )
Parse the binary data in string s as a DIP header,
returning a projtls.Record() loaded with the header data
|
Exceptions
|
|
Insane( "Unbelievable values in DIP header" ) ValueError( "Incomplete header" )
|
|
|
Classes
|
|
|
|