BitmapStorage Class Reference

BitmapStorage Class Reference
+ This reference page is linked to from the following overview topics:

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

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)