BitmapStorage Class Reference
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.
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 GetBitmapType (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 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)
def GetInterfaceAt (self, args)
def GetNumInterfaces (self)
def GetInterface (self, args)
def GetUnwrappedPtr (self)
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')
tuple Type = _swig_property(GetBitmapType )
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')
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def Allocate
(
self ,
args
)
Allocate(BitmapStorage self, BitmapInfo bi, int openMode) -> bool
def AreChannelsPresent
(
self )
AreChannelsPresent(BitmapStorage self) -> ULONG
ClampColor(Color64 outValue, HDRColor inValue)
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)
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)
Disconnect(BitmapStorage self) -> bool
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
GetAspect(BitmapStorage self) -> float
def GetBitmapInfo
(
self )
GetBitmapInfo(BitmapStorage self) -> BitmapInfo
def GetBitmapType
(
self )
GetBitmapType(BitmapStorage self) -> int
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
GetFlags(BitmapStorage self) -> int
GetGamma(BitmapStorage self) -> float
def GetHDRPixel
(
self ,
args
)
GetHDRPixel(BitmapStorage self, int x, int y) -> HDRColor
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
GetOpenMode(BitmapStorage self) -> int
def GetPixel
(
self ,
args
)
GetPixel(BitmapStorage self, int x, int y) -> Color64
def GetUseScaleColors
(
self )
GetUseScaleColors(BitmapStorage self) -> bool
GetWidth(BitmapStorage self) -> int
HasAlpha(BitmapStorage self) -> bool
HasGamma(BitmapStorage self) -> bool
def HasPreMultipliedAlpha
(
self )
HasPreMultipliedAlpha(BitmapStorage self) -> bool
IsDithered(BitmapStorage self) -> bool
def IsHighDynamicRange
(
self )
IsHighDynamicRange(BitmapStorage self) -> int
IsPaletted(BitmapStorage self) -> bool
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)
ScaleColor(Color64 outValue, HDRColor inValue)
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)