Table of Contents

Module: dipheader filetype/dipheader.py

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.

Exceptions   
IOError( 2, "File does not exist" )
  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   
Header

DIP header class

Insane

Table of Contents

This document was automatically generated on Fri Jul 3 09:28:36 2009 by HappyDoc version WORKING