BitmapStorage Class Reference

Class Description

The buffer of a loaded bitmap. It allow developers to access the image data in a uniform manner even though the underlying storage might be 1-bit, 8-bit, 16-bit, 32-bit or 64-bit.
+ Inheritance diagram for BitmapStorage:

Public Member Functions

def Allocate (self, args)
 
def AreChannelsPresent (self)
 
def ClampColor (args)
 
def ClampColorA (args)
 
def ClampScaleColor (self, args)
 
def ClampScaleColorA (self, args)
 
def ClearFlags (self, args)
 
def Connect (self)
 
def CopyCrop (self, args)
 
def CopyImage (self, args)
 
def CreateChannels (self, args)
 
def CropImage (self, args)
 
def DeleteChannels (self, args)
 
def Disconnect (self)
 
def Fill (self, args)
 
def Get16Gray (self, args)
 
def Get16GrayFloat (self, args)
 
def GetAspect (self)
 
def GetBitmapInfo (self)
 
def GetFiltered (self, args)
 
def GetFilteredHDR (self, args)
 
def GetFlags (self)
 
def GetGamma (self)
 
def GetHDRPixel (self, args)
 
def GetHeight (self)
 
def GetLinearHDRPixel (self, args)
 
def GetLinearPixel (self, args)
 
def GetMaxAlphaLevel (self)
 
def GetMaxRGBLevel (self)
 
def GetOpenMode (self)
 
def GetPixel (self, args)
 
def GetType (self)
 
def GetUseScaleColors (self)
 
def GetWidth (self)
 
def HasAlpha (self)
 
def HasGamma (self)
 
def HasPreMultipliedAlpha (self)
 
def IsDithered (self)
 
def IsHighDynamicRange (self)
 
def IsPaletted (self)
 
def MapReady (self)
 
def Put16Gray (self, args)
 
def Put16GrayFloat (self, args)
 
def PutHDRPixel (self, args)
 
def PutPixel (self, args)
 
def ScaleColor (args)
 
def ScaleColorA (args)
 
def SetFlags (self, args)
 
def SetGamma (self, args)
 
def SetHasGamma (self, args)
 
def SetUseScaleColors (self, args)
 
- Public Member Functions inherited from BaseInterfaceServer
def GetInterfaceAt (self, args)
 
def GetNumInterfaces (self)
 
- Public Member Functions inherited from InterfaceServer
def GetInterface (self, args)
 
- Public Member Functions inherited from Wrapper
def GetUnwrappedPtr (self)
 

Static Public Attributes

tuple ClampColor = staticmethod(ClampColor)
 
tuple ClampColorA = staticmethod(ClampColorA)
 
tuple ScaleColor = staticmethod(ScaleColor)
 
tuple ScaleColorA = staticmethod(ScaleColorA)
 
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
- Static Public Attributes inherited from BaseInterfaceServer
tuple Interfaces = _swig_property(lambda self: (self.GetInterfaceAt(i) for i in xrange(self.GetNumInterfaces())))
 
tuple NumInterfaces = _swig_property(GetNumInterfaces)
 
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
- Static Public Attributes inherited from InterfaceServer
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
- Static Public Attributes inherited from Wrapper
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 

Member Function Documentation

def Allocate (   self,
  args 
)
Allocate(BitmapStorage self, BitmapInfo bi, int openMode) -> bool
def AreChannelsPresent (   self)
AreChannelsPresent(BitmapStorage self) -> ULONG
def ClampColor (   args)
ClampColor(Color64 outValue, HDRColor inValue)
def ClampColorA (   args)
ClampColorA(Color64 outValue, HDRColor inValue)
def ClampScaleColor (   self,
  args 
)
ClampScaleColor(BitmapStorage self, Color64 outValue, HDRColor inValue)
def ClampScaleColorA (   self,
  args 
)
ClampScaleColorA(BitmapStorage self, Color64 outValue, HDRColor inValue)
def ClearFlags (   self,
  args 
)
ClearFlags(BitmapStorage self, DWORD f)
def Connect (   self)
Connect(BitmapStorage self) -> bool
def CopyCrop (   self,
  args 
)
CopyCrop(BitmapStorage self, Bitmap other, Color64 fillcolor) -> bool
CopyCrop(BitmapStorage self, Bitmap other, HDRColor fillcolor) -> bool
def CopyImage (   self,
  args 
)
CopyImage(BitmapStorage self, Bitmap other, int operation, int fillindex) -> bool
def CreateChannels (   self,
  args 
)
CreateChannels(BitmapStorage self, ULONG channelIDs) -> ULONG
def CropImage (   self,
  args 
)
CropImage(BitmapStorage self, int width, int height, HDRColor fillcolor) -> bool
CropImage(BitmapStorage self, int width, int height, Color64 fillcolor) -> bool
CropImage(BitmapStorage self, int width, int height, int fillindex) -> bool
def DeleteChannels (   self,
  args 
)
DeleteChannels(BitmapStorage self, ULONG channelIDs)
def Disconnect (   self)
Disconnect(BitmapStorage self) -> bool
def Fill (   self,
  args 
)
Fill(BitmapStorage self, HDRColor fillColor) -> bool
Fill(BitmapStorage self, Color64 fillColor) -> bool
def Get16Gray (   self,
  args 
)
Get16Gray(BitmapStorage self, int x, int y) -> WORD
def Get16GrayFloat (   self,
  args 
)
Get16GrayFloat(BitmapStorage self, int x, int y) -> float
def GetAspect (   self)
GetAspect(BitmapStorage self) -> float
def GetBitmapInfo (   self)
GetBitmapInfo(BitmapStorage self) -> BitmapInfo
def GetFiltered (   self,
  args 
)
GetFiltered(BitmapStorage self, float u, float v, float du, float dv) -> Color64
def GetFilteredHDR (   self,
  args 
)
GetFilteredHDR(BitmapStorage self, float u, float v, float du, float dv) -> HDRColor
def GetFlags (   self)
GetFlags(BitmapStorage self) -> int
def GetGamma (   self)
GetGamma(BitmapStorage self) -> float
def GetHDRPixel (   self,
  args 
)
GetHDRPixel(BitmapStorage self, int x, int y) -> HDRColor
def GetHeight (   self)
GetHeight(BitmapStorage self) -> int
def GetLinearHDRPixel (   self,
  args 
)
GetLinearHDRPixel(BitmapStorage self, int x, int y) -> HDRColor
def GetLinearPixel (   self,
  args 
)
GetLinearPixel(BitmapStorage self, int x, int y) -> Color64
def GetMaxAlphaLevel (   self)
GetMaxAlphaLevel(BitmapStorage self) -> int
def GetMaxRGBLevel (   self)
GetMaxRGBLevel(BitmapStorage self) -> int
def GetOpenMode (   self)
GetOpenMode(BitmapStorage self) -> int
def GetPixel (   self,
  args 
)
GetPixel(BitmapStorage self, int x, int y) -> Color64
def GetType (   self)
GetType(BitmapStorage self) -> int
def GetUseScaleColors (   self)
GetUseScaleColors(BitmapStorage self) -> bool
def GetWidth (   self)
GetWidth(BitmapStorage self) -> int
def HasAlpha (   self)
HasAlpha(BitmapStorage self) -> bool
def HasGamma (   self)
HasGamma(BitmapStorage self) -> bool
def HasPreMultipliedAlpha (   self)
HasPreMultipliedAlpha(BitmapStorage self) -> bool
def IsDithered (   self)
IsDithered(BitmapStorage self) -> bool
def IsHighDynamicRange (   self)
IsHighDynamicRange(BitmapStorage self) -> int
def IsPaletted (   self)
IsPaletted(BitmapStorage self) -> bool
def MapReady (   self)
MapReady(BitmapStorage self) -> bool
def Put16Gray (   self,
  args 
)
Put16Gray(BitmapStorage self, int x, int y, WORD val)
def Put16GrayFloat (   self,
  args 
)
Put16GrayFloat(BitmapStorage self, int x, int y, float val)
def PutHDRPixel (   self,
  args 
)
PutHDRPixel(BitmapStorage self, int x, int y, HDRColor color)
def PutPixel (   self,
  args 
)
PutPixel(BitmapStorage self, int x, int y, Color64 color)
def ScaleColor (   args)
ScaleColor(Color64 outValue, HDRColor inValue)
def ScaleColorA (   args)
ScaleColorA(Color64 outValue, HDRColor inValue)
def SetFlags (   self,
  args 
)
SetFlags(BitmapStorage self, DWORD f)
def SetGamma (   self,
  args 
)
SetGamma(BitmapStorage self, float gam) -> float
def SetHasGamma (   self,
  args 
)
SetHasGamma(BitmapStorage self, bool onOff)
def SetUseScaleColors (   self,
  args 
)
SetUseScaleColors(BitmapStorage self, bool on)