Package FreeImagePy :: Module buffer :: Class FileIO
[show private | hide private]
[frames | no frames]

Type FileIO

object --+    
         |    
        IO --+
             |
            FileIO


Wrapped python file object for use with the handle functions.

Author: Lenard Lindstrom

Method Summary
  __init__(self, fi, f)
(type, value, traceback) _exc_info()
Return information about the most recent exception caught by an except clause in the current stack frame or in an older stack frame.
  ReadProc(self, buffer, size, count)
Dummy read proc.
  SeekProc(self, offset, origin)
Dummy seek proc.
  TellProc(self)
Dummy tell proc.
  WriteProc(self, buffer, size, count)
Dummy write proc.
    Inherited from IO
int getType(self)
GetFileType from handle
int load(self, fif, flags)
Load an image from the source this instance represents.
int save(self, fif, bitmap, flags)
Save an image to the destination this instance represents.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Method Details

__init__(self, fi, f)
(Constructor)

Parameters:
fi - FreeImagePy istance
           (type=Istance)
f - File object where load and save
           (type=file)
Overrides:
FreeImagePy.buffer.IO.__init__

ReadProc(self, buffer, size, count)

Dummy read proc. Indicate error.
Overrides:
FreeImagePy.buffer.IO.ReadProc (inherited documentation)

SeekProc(self, offset, origin)

Dummy seek proc. Indicate error.
Overrides:
FreeImagePy.buffer.IO.SeekProc (inherited documentation)

TellProc(self)

Dummy tell proc. Indicate error.
Overrides:
FreeImagePy.buffer.IO.TellProc (inherited documentation)

WriteProc(self, buffer, size, count)

Dummy write proc. Indicate error.
Overrides:
FreeImagePy.buffer.IO.WriteProc (inherited documentation)

Generated by Epydoc 2.1 on Fri Nov 17 12:52:34 2006 http://epydoc.sf.net