MaxPlus Python API Reference
BitmapStorage Class Reference
+ 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 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)
 
- 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

 ClampColor = staticmethod(ClampColor)
 
 ClampColorA = staticmethod(ClampColorA)
 
 ScaleColor = staticmethod(ScaleColor)
 
 ScaleColorA = staticmethod(ScaleColorA)
 
 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
 Type = _swig_property(GetBitmapType)
 
- Static Public Attributes inherited from BaseInterfaceServer
 Interfaces = _swig_property(lambda self: (self.GetInterfaceAt(i) for i in xrange(self.GetNumInterfaces())))
 
 NumInterfaces = _swig_property(GetNumInterfaces)
 
 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
 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
 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 

Detailed 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.

Member Function Documentation

◆ Allocate()

def Allocate (   self,
args 
)
Allocate(BitmapStorage self, BitmapInfo bi, int openMode) -> bool

◆ AreChannelsPresent()

def AreChannelsPresent (   self)
AreChannelsPresent(BitmapStorage self) -> ULONG

◆ ClampColor()

def ClampColor ( args)
ClampColor(Color64 outValue, HDRColor inValue)

◆ ClampColorA()

def ClampColorA ( args)
ClampColorA(Color64 outValue, HDRColor inValue)

◆ ClampScaleColor()

def ClampScaleColor (   self,
args 
)
ClampScaleColor(BitmapStorage self, Color64 outValue, HDRColor inValue)

◆ ClampScaleColorA()

def ClampScaleColorA (   self,
args 
)
ClampScaleColorA(BitmapStorage self, Color64 outValue, HDRColor inValue)

◆ ClearFlags()

def ClearFlags (   self,
args 
)
ClearFlags(BitmapStorage self, DWORD f)

◆ Connect()

def Connect (   self)
Connect(BitmapStorage self) -> bool

◆ CopyCrop()

def CopyCrop (   self,
args 
)
CopyCrop(BitmapStorage self, Bitmap other, Color64 fillcolor) -> bool
CopyCrop(BitmapStorage self, Bitmap other, HDRColor fillcolor) -> bool

◆ CopyImage()

def CopyImage (   self,
args 
)
CopyImage(BitmapStorage self, Bitmap other, int operation, int fillindex) -> bool

◆ CreateChannels()

def CreateChannels (   self,
args 
)
CreateChannels(BitmapStorage self, ULONG channelIDs) -> ULONG

◆ CropImage()

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

◆ DeleteChannels()

def DeleteChannels (   self,
args 
)
DeleteChannels(BitmapStorage self, ULONG channelIDs)

◆ Disconnect()

def Disconnect (   self)
Disconnect(BitmapStorage self) -> bool

◆ Fill()

def Fill (   self,
args 
)
Fill(BitmapStorage self, HDRColor fillColor) -> bool
Fill(BitmapStorage self, Color64 fillColor) -> bool

◆ Get16Gray()

def Get16Gray (   self,
args 
)
Get16Gray(BitmapStorage self, int x, int y) -> WORD

◆ Get16GrayFloat()

def Get16GrayFloat (   self,
args 
)
Get16GrayFloat(BitmapStorage self, int x, int y) -> float

◆ GetAspect()

def GetAspect (   self)
GetAspect(BitmapStorage self) -> float

◆ GetBitmapInfo()

def GetBitmapInfo (   self)
GetBitmapInfo(BitmapStorage self) -> BitmapInfo

◆ GetBitmapType()

def GetBitmapType (   self)
GetBitmapType(BitmapStorage self) -> int

◆ GetFiltered()

def GetFiltered (   self,
args 
)
GetFiltered(BitmapStorage self, float u, float v, float du, float dv) -> Color64

◆ GetFilteredHDR()

def GetFilteredHDR (   self,
args 
)
GetFilteredHDR(BitmapStorage self, float u, float v, float du, float dv) -> HDRColor

◆ GetFlags()

def GetFlags (   self)
GetFlags(BitmapStorage self) -> int

◆ GetGamma()

def GetGamma (   self)
GetGamma(BitmapStorage self) -> float

◆ GetHDRPixel()

def GetHDRPixel (   self,
args 
)
GetHDRPixel(BitmapStorage self, int x, int y) -> HDRColor

◆ GetHeight()

def GetHeight (   self)
GetHeight(BitmapStorage self) -> int

◆ GetLinearHDRPixel()

def GetLinearHDRPixel (   self,
args 
)
GetLinearHDRPixel(BitmapStorage self, int x, int y) -> HDRColor

◆ GetLinearPixel()

def GetLinearPixel (   self,
args 
)
GetLinearPixel(BitmapStorage self, int x, int y) -> Color64

◆ GetMaxAlphaLevel()

def GetMaxAlphaLevel (   self)
GetMaxAlphaLevel(BitmapStorage self) -> int

◆ GetMaxRGBLevel()

def GetMaxRGBLevel (   self)
GetMaxRGBLevel(BitmapStorage self) -> int

◆ GetOpenMode()

def GetOpenMode (   self)
GetOpenMode(BitmapStorage self) -> int

◆ GetPixel()

def GetPixel (   self,
args 
)
GetPixel(BitmapStorage self, int x, int y) -> Color64

◆ GetUseScaleColors()

def GetUseScaleColors (   self)
GetUseScaleColors(BitmapStorage self) -> bool

◆ GetWidth()

def GetWidth (   self)
GetWidth(BitmapStorage self) -> int

◆ HasAlpha()

def HasAlpha (   self)
HasAlpha(BitmapStorage self) -> bool

◆ HasGamma()

def HasGamma (   self)
HasGamma(BitmapStorage self) -> bool

◆ HasPreMultipliedAlpha()

def HasPreMultipliedAlpha (   self)
HasPreMultipliedAlpha(BitmapStorage self) -> bool

◆ IsDithered()

def IsDithered (   self)
IsDithered(BitmapStorage self) -> bool

◆ IsHighDynamicRange()

def IsHighDynamicRange (   self)
IsHighDynamicRange(BitmapStorage self) -> int

◆ IsPaletted()

def IsPaletted (   self)
IsPaletted(BitmapStorage self) -> bool

◆ MapReady()

def MapReady (   self)
MapReady(BitmapStorage self) -> bool

◆ Put16Gray()

def Put16Gray (   self,
args 
)
Put16Gray(BitmapStorage self, int x, int y, WORD val)

◆ Put16GrayFloat()

def Put16GrayFloat (   self,
args 
)
Put16GrayFloat(BitmapStorage self, int x, int y, float val)

◆ PutHDRPixel()

def PutHDRPixel (   self,
args 
)
PutHDRPixel(BitmapStorage self, int x, int y, HDRColor color)

◆ PutPixel()

def PutPixel (   self,
args 
)
PutPixel(BitmapStorage self, int x, int y, Color64 color)

◆ ScaleColor()

def ScaleColor ( args)
ScaleColor(Color64 outValue, HDRColor inValue)

◆ ScaleColorA()

def ScaleColorA ( args)
ScaleColorA(Color64 outValue, HDRColor inValue)

◆ SetFlags()

def SetFlags (   self,
args 
)
SetFlags(BitmapStorage self, DWORD f)

◆ SetGamma()

def SetGamma (   self,
args 
)
SetGamma(BitmapStorage self, float gam) -> float

◆ SetHasGamma()

def SetHasGamma (   self,
args 
)
SetHasGamma(BitmapStorage self, bool onOff)

◆ SetUseScaleColors()

def SetUseScaleColors (   self,
args 
)
SetUseScaleColors(BitmapStorage self, bool on)