Table of Contents

Class: FileDump filetype/imagesink.py

General dump-image-to-disk superclass.

Base Classes   
ImageSink
Methods   
BeginImage
End
SetFormat
SetOutputDatatype
SetOutputFilename
__init__
writebytes
  BeginImage 
BeginImage ( self )

Part of ImageSink protocol

Opens the output file as self.file

  End 
End ( self )

Part of ImageSink protocol

Closes the output file.

  SetFormat 
SetFormat ( self,  format )

Part of ImageSink protocol

stores the format as self.format

  SetOutputDatatype 
SetOutputDatatype ( self,  datatype )

Part of ImageSink protocol

stores the datatype as self.outdatatype

  SetOutputFilename 
SetOutputFilename ( self,  outfilename )

Part of ImageSink protocol

stores the outfilename as self.outfilename

  __init__ 
__init__ (
        self,
        outfilename=None,
        datatype=None,
        )

  writebytes 
writebytes ( self,  s )

Writes a buffer to the open output file.


Table of Contents

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