Platforms to show: All Mac Windows Linux Cross-Platform
Graphics & Pictures
Extensions to the picture and the graphics class.
- Screenshots
- Globals
- BlendPicturesMBS(result as picture, source as picture, sourcepercent as Double, dest as picture, destpercent as Double, x as Integer, y as Integer, width as Integer, height as Integer) as boolean
- BlendPicturesMBS(source as picture, sourcepercent as Double, dest as picture, destpercent as Double) as picture
- BlendPicturesWithMaskMBS(result as picture, source as picture, dest as picture, mask as picture, x as Integer, y as Integer, width as Integer, height as Integer) as boolean
- BlendPicturesWithMaskMBS(source as picture, dest as picture, mask as picture) as picture
- BlendPicturesWithMaskWithBackgroundMBS(SourceImage As Picture, DestImage As Picture, Mask As Picture, Result As Picture, X as Integer, Y as Integer, Width as Integer, Height as Integer) as boolean
- BlendPicturesWithMaskWithBackgroundMBS(SourceImage As Picture, DestImage As Picture, Mask As Picture, Result As Picture, X as Integer, Y as Integer, Width as Integer, Height as Integer, BackgroundColour As Color) as boolean
- ColorizePictureMBS(Pict As Picture, Mask As Picture, foreR as Double, foreG as Double, foreB as Double, foreA as Double, backR as Double, backG as Double, backB as Double, backA as Double) as boolean
- CombinePicturesMBS(red as picture, blue as picture, green as picture) as picture
- DiffPicturesMBS(source as picture, dest as picture, square as boolean) as picture
- GetMBfromPictureMBS(pic as picture, mask as picture, mode as string) as memoryblock
- GetMBfromPictureMBS(pic as picture, mode as string) as memoryblock
- MandelbrotSetMBS(Threaded as Integer, width as Integer, height as Integer, fx as Double = 4.0, fy as Double = 4.0, dx as Double = -2.0, dy as Double = -2.0, dest as picture = nil) as picture
- MemoryblockABGRtoPictureMBS(dest as picture, source as memoryblock, offset as Integer, width as Integer, height as Integer) as picture
- MemoryblockABGRtoPictureMBS(source as memoryblock, offset as Integer, width as Integer, height as Integer) as picture
- MemoryblockARGBtoPictureMBS(dest as picture, source as memoryblock, offset as Integer, width as Integer, height as Integer) as picture
- MemoryblockARGBtoPictureMBS(source as memoryblock, offset as Integer, width as Integer, height as Integer) as picture
- MemoryblockARGBtoPictureMBS(source as memoryblock, offset as Integer, width as Integer, height as Integer, LittleEndian as boolean) as picture
- MemoryblockBGRAtoPictureMBS(dest as picture, source as memoryblock, offset as Integer, width as Integer, height as Integer) as picture
- MemoryblockBGRAtoPictureMBS(source as memoryblock, offset as Integer, width as Integer, height as Integer) as picture
- MemoryblockBGRtoPictureMBS(dest as picture, source as memoryblock, offset as Integer, width as Integer, height as Integer) as picture
- MemoryblockBGRtoPictureMBS(source as memoryblock, offset as Integer, width as Integer, height as Integer) as picture
- MemoryblockGrayToPictureMBS(source as memoryblock, offset as Integer, width as Integer, height as Integer, PixelByteSize as Integer) as picture
- MemoryblockGrayToPictureMBS(source as memoryblock, offset as Integer, width as Integer, height as Integer, PixelByteSize as Integer, Red as Integer, Blue as Integer, Green as Integer) as picture
- MemoryblockGrayToPictureMBS(source as memoryblock, offset as Integer, width as Integer, height as Integer, PixelByteSize as Integer, Red() as Integer, Blue() as Integer, Green() as Integer) as picture
- MemoryblockRGBAtoPictureMBS(dest as picture, source as memoryblock, offset as Integer, width as Integer, height as Integer, FlipVertically as boolean=false) as picture
- MemoryblockRGBAtoPictureMBS(source as memoryblock, offset as Integer, width as Integer, height as Integer, FlipVertically as boolean=false) as picture
- MemoryblockRGBtoPictureMBS(dest as picture, source as memoryblock, offset as Integer, width as Integer, height as Integer) as picture
- MemoryblockRGBtoPictureMBS(source as memoryblock, offset as Integer, width as Integer, height as Integer) as picture
- MergePictureMBS(source1 as picture, source2 as picture) as picture
- NewPictureEditorMBS(pic as picture) as PictureEditorMBS
- NewPictureMBS(width as Integer, height as Integer, pixeltype as Integer, buffer as memoryblock, rowbytes as Integer) as picture
- NewPictureReaderMBS(pic as picture) as PictureReaderMBS
- NewPictureWithColorMBS(width as Integer, height as Integer, c as color) as picture
- NewPictureWriterMBS(pic as picture, width as Integer, height as Integer) as PictureWriterMBS
- NewPictureWriterMBS(width as Integer, height as Integer, AlphaChannel as boolean = false) as PictureWriterMBS
- PictureCombineMBS(DestImage As Picture, Image As Picture, Mask As Picture, DestX as Integer, DestY as Integer, SourceX as Integer, SourceY as Integer, Width as Integer, Height as Integer, UseColours As Boolean) as boolean
- PictureCombineMBS(DestImage As Picture, Image As Picture, Mask As Picture, DestX as Integer, DestY as Integer, SourceX as Integer, SourceY as Integer, Width as Integer, Height as Integer, UseColours As Boolean, ForeColour As color) as boolean
- PictureCombineMBS(DestImage As Picture, Image As Picture, Mask As Picture, DestX as Integer, DestY as Integer, SourceX as Integer, SourceY as Integer, Width as Integer, Height as Integer, UseColours As Boolean, ForeColour As color, MaskColour As color) as boolean
- PictureCombineMBS(DestImage As Picture, Image As Picture, Mask As Picture, DestX as Integer, DestY as Integer, SourceX as Integer, SourceY as Integer, Width as Integer, Height as Integer, UseColours As Boolean, ForeColour as Integer) as boolean
- PictureCombineMBS(DestImage As Picture, Image As Picture, Mask As Picture, DestX as Integer, DestY as Integer, SourceX as Integer, SourceY as Integer, Width as Integer, Height as Integer, UseColours As Boolean, ForeColour as Integer, MaskColour as Integer) as boolean
- PictureCombineMBS(DestImage As Picture, Image As Picture, PreMultipliedSource as boolean, Mask As Picture, DestX as Integer, DestY as Integer, SourceX as Integer, SourceY as Integer, Width as Integer, Height as Integer, UseColours As Boolean) as boolean
- PictureCombineMBS(DestImage As Picture, Image As Picture, PreMultipliedSource as boolean, Mask As Picture, DestX as Integer, DestY as Integer, SourceX as Integer, SourceY as Integer, Width as Integer, Height as Integer, UseColours As Boolean, ForeColour As color) as boolean
- PictureCombineMBS(DestImage As Picture, Image As Picture, PreMultipliedSource as boolean, Mask As Picture, DestX as Integer, DestY as Integer, SourceX as Integer, SourceY as Integer, Width as Integer, Height as Integer, UseColours As Boolean, ForeColour As color, MaskColour As color) as boolean
- PictureCombineMBS(DestImage As Picture, Image As Picture, PreMultipliedSource as boolean, Mask As Picture, DestX as Integer, DestY as Integer, SourceX as Integer, SourceY as Integer, Width as Integer, Height as Integer, UseColours As Boolean, ForeColour as Integer) as boolean
- PictureCombineMBS(DestImage As Picture, Image As Picture, PreMultipliedSource as boolean, Mask As Picture, DestX as Integer, DestY as Integer, SourceX as Integer, SourceY as Integer, Width as Integer, Height as Integer, UseColours As Boolean, ForeColour as Integer, MaskColour as Integer) as boolean
- PictureCopyPixelFastMBS(DestImage As Picture, Source As Picture, DestX as Integer, DestY as Integer, SourceX as Integer, SourceY as Integer, Width as Integer, Height as Integer) as boolean
- PtrABGRtoPictureMBS(dest as picture, source as Ptr, offset as Integer, width as Integer, height as Integer) as picture
- PtrABGRtoPictureMBS(source as Ptr, offset as Integer, width as Integer, height as Integer) as picture
- PtrARGBtoPictureMBS(dest as picture, source as Ptr, offset as Integer, width as Integer, height as Integer) as picture
- PtrARGBtoPictureMBS(source as Ptr, offset as Integer, width as Integer, height as Integer) as picture
- PtrARGBtoPictureMBS(source as Ptr, offset as Integer, width as Integer, height as Integer, LittleEndian as boolean) as picture
- PtrBGRAtoPictureMBS(dest as picture, source as Ptr, offset as Integer, width as Integer, height as Integer) as picture
- PtrBGRAtoPictureMBS(source as Ptr, offset as Integer, width as Integer, height as Integer) as picture
- PtrBGRtoPictureMBS(dest as picture, source as Ptr, offset as Integer, width as Integer, height as Integer) as picture
- PtrBGRtoPictureMBS(source as Ptr, offset as Integer, width as Integer, height as Integer) as picture
- PtrGrayToPictureMBS(source as Ptr, offset as Integer, width as Integer, height as Integer, PixelByteSize as Integer) as picture
- PtrGrayToPictureMBS(source as Ptr, offset as Integer, width as Integer, height as Integer, PixelByteSize as Integer, Red as Integer, Blue as Integer, Green as Integer) as picture
- PtrGrayToPictureMBS(source as Ptr, offset as Integer, width as Integer, height as Integer, PixelByteSize as Integer, Red() as Integer, Blue() as Integer, Green() as Integer) as picture
- PtrRGBAtoPictureMBS(dest as picture, source as Ptr, offset as Integer, width as Integer, height as Integer, FlipVertically as boolean=false) as picture
- PtrRGBAtoPictureMBS(source as Ptr, offset as Integer, width as Integer, height as Integer, FlipVertically as boolean=false) as picture
- PtrRGBtoPictureMBS(dest as picture, source as Ptr, offset as Integer, width as Integer, height as Integer) as picture
- PtrRGBtoPictureMBS(source as Ptr, offset as Integer, width as Integer, height as Integer) as picture
- RenderSamplesMBS(Samples as memoryblock, SampleCount as Integer, Smooth as Integer, Width as Integer, Height as Integer, outlinewidth as Integer, BackColor as color=&c88B5C4, ForeColor as color=&c274C5A, OutLineColor as color=&c203F4E, Bits as Integer = 8, AutoScale as boolean = false) as Picture
- TintPictureMBS(source as picture, GreyBase as color, SepiaBase as color) as picture
- WindowsDrawPictureIntoDeviceContextMBS(pic as picture, HDC as Integer, x as Integer, y as Integer, w as Integer, h as Integer, Transparent as boolean)
- Classes
- class PaletteCalculatorMBS
- method CountColors as Integer
- method CreatePicturePalette(Pic as picture) as Integer
- method GetIndexOfColor(col as color) as Integer
- method GetIndexOfColor(r as Integer, g as Integer, b as Integer) as Integer
- method GetNearestIndexOfColor(col as color) as Integer
- method GetNearestIndexOfColor(r as Integer, g as Integer, b as Integer) as Integer
- method Transform(mem as memoryblock, width as Integer, height as Integer) as picture
- method Transform(Pic as picture) as memoryblock
- method TransformBetterDithering(Pic as picture) as memoryblock
- method TransformFastDithering(Pic as picture) as memoryblock
- property Count as Integer
- property Col(i as Integer) as color
- class PictureConvolutionMBS
- method close
- method Run(channels as Integer) as boolean
- property DestinationPicture as Picture
- property SourcePicture as Picture
- property ValueCount as Integer
- property Hor(index as UInt32) as Double
- property Ver(index as UInt32) as Double
- class PictureEditorMBS
- method Data(Row as Integer) as MemoryBlock
- property AllData as Memoryblock
- property AllDataCopy as Memoryblock
- property BlueOffset as Integer
- property BytesPerPixel as Integer
- property DataPtr as Integer
- property GreenOffset as Integer
- property HasAlphaChannel as Boolean
- property Height as Integer
- property Picture as Picture
- property RedOffset as Integer
- property RowBytes as Integer
- property Width as Integer
- class PictureLut3DMBS
- method close
- method Run as boolean
- property DestinationPicture as Picture
- property MaxX as Integer
- property MaxY as Integer
- property MinX as Integer
- property MinY as Integer
- property SourcePicture as Picture
- property Table(r as UInt32, g as UInt32, b as UInt32, x as UInt32) as Double
- class PictureMatrix3DMBS
- method close
- method Run as boolean
- property DestinationPicture as Picture
- property MaxX as Integer
- property MaxY as Integer
- property MinX as Integer
- property MinY as Integer
- property SourcePicture as Picture
- property Matrix(x as UInt32, y as UInt32) as Double
- class PictureMatrixMBS
- method close
- method Run as boolean
- method RunRGB(red as boolean, green as boolean, blue as boolean) as boolean
- property DestinationPicture as Picture
- property Displacement as Integer
- property MaxX as Integer
- property MaxY as Integer
- property MinX as Integer
- property MinY as Integer
- property ScaleFactor as Double
- property SourcePicture as Picture
- property Matrix(x as UInt32, y as UInt32) as Integer
- class PictureMinMaxMBS
- method FindAll(p as picture) as boolean
- method FindBlue(p as picture) as boolean
- method FindGreen(p as picture) as boolean
- method FindMaxAll(p as picture) as boolean
- method FindMaxBlue(p as picture) as boolean
- method FindMaxGreen(p as picture) as boolean
- method FindMaxRed(p as picture) as boolean
- method FindMaxSum(p as picture) as boolean
- method FindMinAll(p as picture) as boolean
- method FindMinBlue(p as picture) as boolean
- method FindMinGreen(p as picture) as boolean
- method FindMinRed(p as picture) as boolean
- method FindMinSum(p as picture) as boolean
- method FindRed(p as picture) as boolean
- method FindSum(p as picture) as boolean
- property BlueMax as Integer
- property BlueMaxX as Integer
- property BlueMaxY as Integer
- property BlueMin as Integer
- property BlueMinX as Integer
- property BlueMinY as Integer
- property GreenMax as Integer
- property GreenMaxX as Integer
- property GreenMaxY as Integer
- property GreenMin as Integer
- property GreenMinX as Integer
- property GreenMinY as Integer
- property RedMax as Integer
- property RedMaxX as Integer
- property RedMaxY as Integer
- property RedMin as Integer
- property RedMinX as Integer
- property RedMinY as Integer
- property SumMax as Integer
- property SumMaxX as Integer
- property SumMaxY as Integer
- property SumMin as Integer
- property SumMinX as Integer
- property SumMinY as Integer
- class PictureReaderMBS
- method Data(Row as Integer) as MemoryBlock
- property BlueOffset as Integer
- property BytesPerPixel as Integer
- property Data as Memoryblock
- property DataCopy as Memoryblock
- property DataPtr as Integer
- property GreenOffset as Integer
- property HasAlphaChannel as Boolean
- property Height as Integer
- property Picture as Picture
- property RedOffset as Integer
- property RowBytes as Integer
- property Width as Integer
- class PictureSepiaMBS
- method close
- method Run as boolean
- property DestinationPicture as Picture
- property FactorBlue as Double
- property FactorGreen as Double
- property FactorRed as Double
- property MaxX as Integer
- property MaxY as Integer
- property MinX as Integer
- property MinY as Integer
- property SepiaBlue as Integer
- property SepiaGreen as Integer
- property SepiaRed as Integer
- property SourcePicture as Picture
- class PictureWriterMBS
- method Data(Row as Integer) as MemoryBlock
- method Render as picture
- property BlueOffset as Integer
- property BytesPerPixel as Integer
- property Data as Memoryblock
- property DataCopy as Memoryblock
- property DataPtr as Integer
- property GreenOffset as Integer
- property HasAlphaChannel as Boolean
- property Height as Integer
- property Picture as Picture
- property RedOffset as Integer
- property RowBytes as Integer
- property Width as Integer
- class PaletteCalculatorMBS
- Class Extensions
- class Graphics
- method DrawRotatedTextMBS(Rotation as Double, text as string, x as Integer, y as Integer, Center as Boolean = false, alpha as Double = 1.0, NoSwapY as boolean = false, FontWidth as Integer = 0)
- method DrawWindowsIconMBS(file as folderitem, IconID as Integer, x as Integer, y as Integer, w as Integer, h as Integer) as boolean
- method MeasureRotatedTextMBS(text as string, byref Width as Double, byref Height as Double, FontWidth as Integer = 0) as Boolean
- method PaintdesktopMBS
- method StretchBltMBS(nXOriginDest as Integer, nYOriginDest as Integer, nWidthDest as Integer, nHeightDest as Integer, source as graphics, nXOriginSrc as Integer, nYOriginSrc as Integer, nWidthSrc as Integer, nHeightSrc as Integer, dwRop as Integer) as boolean
- method StretchDIBitsMBS(XDest as Integer, YDest as Integer, DestWidth as Integer, DestHeight as Integer, XSource as Integer, YSource as Integer, SourceWidth as Integer, SourceHeight as Integer, Bits as memoryblock, ImageWidth as Integer, ImageHeight as Integer, ImageBitCount as Integer) as boolean
- class Picture
- method AddSteganographyMBS(flags as Integer, data as Memoryblock) as Picture
- method AddSteganographyPictureMBS(flags as Integer, data as Picture) as Picture
- method AutoLevelCopyMBS as picture
- method AutoLevelMBS as boolean
- method BitmapMBS as picture
- method BlueChannelMBS as picture
- method BlurMBS(Radius as Double, yield as Integer = 0) as picture
- method CalcSteganographyMBS(flags as Integer) as Integer
- method ChangeBrightnessAbsoluteMBS(Brightness as Double) as picture
- method ChangeBrightnessAbsoluteMBS(BrightnessRed as Double, BrightnessGreen as Double, BrightnessBlue as Double) as picture
- method ChangeBrightnessLinearMBS(Brightness as Double) as picture
- method ChangeBrightnessLinearMBS(BrightnessRed as Double, BrightnessGreen as Double, BrightnessBlue as Double) as picture
- method ChangeContrastBrightnessAbsoluteMBS(Contrast as Double, Brightness as Double) as picture
- method ChangeContrastBrightnessAbsoluteMBS(ContrastRed as Double, ContrastGreen as Double, ContrastBlue as Double, BrightnessRed as Double, BrightnessGreen as Double, BrightnessBlue as Double) as picture
- method ChangeContrastBrightnessLinearMBS(Contrast as Double, Brightness as Double) as picture
- method ChangeContrastBrightnessLinearMBS(ContrastRed as Double, ContrastGreen as Double, ContrastBlue as Double, BrightnessRed as Double, BrightnessGreen as Double, BrightnessBlue as Double) as picture
- method ChangeContrastMBS(Contrast as Double) as picture
- method ChangeContrastMBS(ContrastRed as Double, ContrastGreen as Double, ContrastBlue as Double) as picture
- method ChangeCustomMBS(a as Double, b as Double) as picture
- method ChangeCustomMBS(Ra as Double, Rb as Double, Ga as Double, Gb as Double, Ba as Double, Bb as Double) as picture
- method ChangeSaturationMBS(Amount as Integer) as picture
- method cloneMBS as picture
- method CloneMBS(NewMask as Picture) as picture
- method CloneMBS(NewMask as Picture, width as Integer, height as Integer) as picture
- method CloneMBS(width as Integer, height as Integer) as picture
- method ColorizeMBS(hue as Double, sat as Double, light as Double) as picture
- method ColornessMBS(threshold as Integer = 10) as Double
- method CombineMBS(Image As Picture, Mask As Picture, DestX as Integer, DestY as Integer, SourceX as Integer, SourceY as Integer, Width as Integer, Height as Integer, UseColours As Boolean) as boolean
- method CombineMBS(Image As Picture, Mask As Picture, DestX as Integer, DestY as Integer, SourceX as Integer, SourceY as Integer, Width as Integer, Height as Integer, UseColours As Boolean, ForeColour As color) as boolean
- method CombineMBS(Image As Picture, Mask As Picture, DestX as Integer, DestY as Integer, SourceX as Integer, SourceY as Integer, Width as Integer, Height as Integer, UseColours As Boolean, ForeColour As color, MaskColour As color) as boolean
- method CombineMBS(Image As Picture, Mask As Picture, DestX as Integer, DestY as Integer, SourceX as Integer, SourceY as Integer, Width as Integer, Height as Integer, UseColours As Boolean, ForeColour as Integer) as boolean
- method CombineMBS(Image As Picture, Mask As Picture, DestX as Integer, DestY as Integer, SourceX as Integer, SourceY as Integer, Width as Integer, Height as Integer, UseColours As Boolean, ForeColour as Integer, MaskColour as Integer) as boolean
- method CombineMBS(Image As Picture, PreMultipliedSource as boolean, Mask As Picture, DestX as Integer, DestY as Integer, SourceX as Integer, SourceY as Integer, Width as Integer, Height as Integer, UseColours As Boolean) as boolean
- method CombineMBS(Image As Picture, PreMultipliedSource as boolean, Mask As Picture, DestX as Integer, DestY as Integer, SourceX as Integer, SourceY as Integer, Width as Integer, Height as Integer, UseColours As Boolean, ForeColour As color) as boolean
- method CombineMBS(Image As Picture, PreMultipliedSource as boolean, Mask As Picture, DestX as Integer, DestY as Integer, SourceX as Integer, SourceY as Integer, Width as Integer, Height as Integer, UseColours As Boolean, ForeColour As color, MaskColour As color) as boolean
- method CombineMBS(Image As Picture, PreMultipliedSource as boolean, Mask As Picture, DestX as Integer, DestY as Integer, SourceX as Integer, SourceY as Integer, Width as Integer, Height as Integer, UseColours As Boolean, ForeColour as Integer) as boolean
- method CombineMBS(Image As Picture, PreMultipliedSource as boolean, Mask As Picture, DestX as Integer, DestY as Integer, SourceX as Integer, SourceY as Integer, Width as Integer, Height as Integer, UseColours As Boolean, ForeColour as Integer, MaskColour as Integer) as boolean
- method CombineMBS(Mode as Integer, SecondPicture As Picture, X as Integer = 0, Y as Integer = 0, Width as Integer = 0, Height as Integer = 0) as picture
- method CombinePixelMBS(Mode as Integer, SecondPicture As Picture) as picture
- method CompareBrightnessMBS(other as picture, mode as Integer, threshold as Integer) as Double
- method CompareMBS(other as picture, threshold as Integer) as Double
- method CopyABGRtoMemoryblockMBS(destination as memoryblock, offset as Integer, AlphaValue as Integer, StartLine as Integer = 0, EndLine as Integer = -1, Yield as Integer = 0, DestRowBytes as Integer = 0) as boolean
- method CopyABGRtoMemoryblockMBS(destination as memoryblock, offset as Integer, MaskForAlpha as picture, StartLine as Integer = 0, EndLine as Integer = -1, Yield as Integer = 0, DestRowBytes as Integer = 0) as boolean
- method CopyARGBtoMemoryblockMBS(destination as memoryblock, offset as Integer, AlphaValue as Integer, StartLine as Integer = 0, EndLine as Integer = -1, Yield as Integer = 0, DestRowBytes as Integer = 0) as boolean
- method CopyARGBtoMemoryblockMBS(destination as memoryblock, offset as Integer, LittleEndian as boolean, AlphaValue as Integer, StartLine as Integer = 0, EndLine as Integer = -1, Yield as Integer = 0, DestRowBytes as Integer = 0) as boolean
- method CopyARGBtoMemoryblockMBS(destination as memoryblock, offset as Integer, MaskForAlpha as picture, StartLine as Integer = 0, EndLine as Integer = -1, Yield as Integer = 0, DestRowBytes as Integer = 0) as boolean
- method CopyBGRAtoMemoryblockMBS(destination as memoryblock, offset as Integer, AlphaValue as Integer, StartLine as Integer = 0, EndLine as Integer = -1, Yield as Integer = 0, DestRowBytes as Integer = 0) as boolean
- method CopyBGRAtoMemoryblockMBS(destination as memoryblock, offset as Integer, MaskForAlpha as picture, StartLine as Integer = 0, EndLine as Integer = -1, Yield as Integer = 0, DestRowBytes as Integer = 0) as boolean
- method CopyBGRtoMemoryblockMBS(destination as memoryblock, offset as Integer, StartLine as Integer = 0, EndLine as Integer = -1, Yield as Integer = 0, DestRowBytes as Integer = 0) as boolean
- method CopyBGRXtoMemoryblockMBS(destination as memoryblock, offset as Integer, StartLine as Integer = 0, EndLine as Integer = -1, Yield as Integer = 0, DestRowBytes as Integer = 0) as boolean
- method CopyBtoMemoryblockMBS(destination as memoryblock, offset as Integer, PixelByteSize as Integer, StartLine as Integer = 0, EndLine as Integer = -1, Yield as Integer = 0, DestRowBytes as Integer = 0) as boolean
- method CopyGtoMemoryblockMBS(destination as memoryblock, offset as Integer, PixelByteSize as Integer, StartLine as Integer = 0, EndLine as Integer = -1, Yield as Integer = 0, DestRowBytes as Integer = 0) as boolean
- method CopyMaskMBS as picture
- method CopyPictureMBS as picture
- method CopyPictureWithMaskMBS as picture
- method CopyPictureWithoutMaskMBS as picture
- method CopyPixelFastMBS(Source As Picture, DestX as Integer, DestY as Integer, SourceX as Integer, SourceY as Integer, Width as Integer, Height as Integer) as boolean
- method CopyRGBAtoMemoryblockMBS(destination as memoryblock, offset as Integer, AlphaValue as Integer, StartLine as Integer = 0, EndLine as Integer = -1, Yield as Integer = 0, DestRowBytes as Integer = 0) as boolean
- method CopyRGBAtoMemoryblockMBS(destination as memoryblock, offset as Integer, MaskForAlpha as picture, StartLine as Integer = 0, EndLine as Integer = -1, Yield as Integer = 0, DestRowBytes as Integer = 0) as boolean
- method CopyRGBtoMemoryblockMBS(destination as memoryblock, offset as Integer, StartLine as Integer = 0, EndLine as Integer = -1, Yield as Integer = 0, DestRowBytes as Integer = 0) as boolean
- method CopyRGBXtoMemoryblockMBS(destination as memoryblock, offset as Integer, StartLine as Integer = 0, EndLine as Integer = -1, Yield as Integer = 0, DestRowBytes as Integer = 0) as boolean
- method CopyRtoMemoryblockMBS(destination as memoryblock, offset as Integer, PixelByteSize as Integer, StartLine as Integer = 0, EndLine as Integer = -1, Yield as Integer = 0, DestRowBytes as Integer = 0) as boolean
- method CopyXBGRtoMemoryblockMBS(destination as memoryblock, offset as Integer, StartLine as Integer = 0, EndLine as Integer = -1, Yield as Integer = 0, DestRowBytes as Integer = 0) as boolean
- method CopyXRGBtoMemoryblockMBS(destination as memoryblock, offset as Integer, StartLine as Integer = 0, EndLine as Integer = -1, Yield as Integer = 0, DestRowBytes as Integer = 0) as boolean
- method CountColorMBS(col as color) as Integer
- method CountColorsMBS(byref red as memoryblock, byref blue as memoryblock, byref green as memoryblock, byref count as Integer)
- method DrawPictureFMBS(pic as picture, x as Double, y as Double, alpha as Double = 1.0, yield as Integer = 0) as boolean
- method ExtractColorMBS(SearchColor as color, ReplaceWithColor as color, BackGroundColor as color) as picture
- method ExtractColorRectangleMaskMBS as picture
- method ExtractColorRectangleMaskMBS(left as Integer,top as Integer,width as Integer,height as Integer) as picture
- method FindPictureMBS(pic as picture, byref x as Integer, byref y as Integer, StartX as Integer = 0, StartY as Integer = 0, Tolerance as Integer = 3) as boolean
- method GetMaskMBS(create as boolean = true) as picture
- method GrayScale2MBS(mode as Integer) as boolean
- method GrayScaleMBS(mode as Integer) as picture
- method GreenChannelMBS as picture
- method HashMBS as UInt32
- method HasMaskMBS as boolean
- method HMirrorMBS as picture
- method HMirrorPictureMBS as boolean
- method InvertGrayMBS as picture
- method InvertGrayMBS(left as Integer,top as Integer,width as Integer,height as Integer) as picture
- method InvertMBS as picture
- method InvertMBS(left as Integer,top as Integer,width as Integer,height as Integer) as picture
- method isBlackMBS as boolean
- method isBlackMBS(left as Integer,top as Integer,width as Integer,height as Integer) as boolean
- method isGrayMBS(tolerance as Integer = 0) as boolean
- method isGrayMBS(tolerance as Integer, left as Integer,top as Integer,width as Integer,height as Integer) as boolean
- method isWhiteMBS as boolean
- method isWhiteMBS(left as Integer,top as Integer,width as Integer,height as Integer) as boolean
- method MakeHBITMAPMBS as Ptr
- method MirrorMBS as picture
- method MirrorPictureMBS as boolean
- method RedChannelMBS as picture
- method ReplaceBlueChannelMBS(BlueChannel as picture) as picture
- method ReplaceColorMBS(SearchColor as color, ReplaceWithColor as color) as picture
- method ReplaceGreenChannelMBS(GreenChannel as picture) as picture
- method ReplaceRedChannelMBS(RedChannel as picture) as picture
- method Rotate180MBS as picture
- method Rotate270MBS as picture
- method Rotate90MBS as picture
- method RotateImageAndMaskMBS(angle as Double, cut as boolean = False) as picture
- method RotateMBS(angle as Double, background as color = &cFFFFFFFF) as picture
- method RotateMemoryMBS(angle as Double) as Int64
- method ScaleImageAndMaskMBS(width as Integer, height as Integer, AntiAlias as boolean=false, YieldTicks as Integer=0) as picture
- method ScaleMBS(width as Integer, height as Integer, AntiAlias as boolean=false, YieldTicks as Integer=0) as picture
- method ScalingMBS(mode as Integer, width as Integer, height as Integer, yield as Integer = 0) as picture
- method ScrollHorizontalMBS(delta as Integer, wrap as boolean, scrollmask as boolean) as boolean
- method ScrollMBS(deltaX as Integer, deltaY as Integer, wrap as boolean, scrollmask as boolean) as boolean
- method ScrollVerticalMBS(delta as Integer, wrap as boolean, scrollmask as boolean) as boolean
- method SetSteganographyMBS(flags as Integer, data as Memoryblock) as boolean
- method SetSteganographyPictureMBS(flags as Integer, data as Picture) as boolean
- method SobelChannelsMBS(Red as boolean, Green as Boolean, Blue as boolean, direction1 as Integer = 1, direction2 as Integer = 3, swap as boolean = false) as picture
- method SobelMBS(direction1 as Integer = 1, direction2 as Integer = 3, swap as boolean = false, gray as boolean = true) as picture
- method SteganographyMBS(flags as Integer) as Memoryblock
- method SteganographyPictureMBS(flags as Integer) as Picture
- method ThreadedTransformMBS(Threaded as Integer, Map() as color, dest as picture = nil) as picture
- method ThreadedTransformMBS(Threaded as Integer, Map() as Integer, dest as picture = nil) as picture
- method ThreadedTransformMBS(Threaded as Integer, RedMap as memoryblock, GreenMap as memoryblock, BlueMap as memoryblock, dest as picture = nil) as picture
- method ThreadedTransformMBS(Threaded as Integer, RedMap() as Integer, GreenMap() as Integer, BlueMap() as Integer, dest as picture = nil) as picture
- method ThresholdMBS(Threshold as integer) as picture
- method TransformColorsMBS(red as memoryblock, blue as memoryblock, green as memoryblock, dest as picture = nil) as picture
- method TrimMBS(left as Integer, top as Integer, width as Integer, height as Integer) as picture
- method TrimWithMaskMBS(left as Integer, top as Integer, width as Integer, height as Integer) as picture
- method VMirrorMBS as picture
- method VMirrorPictureMBS as boolean
- class Graphics
- Modules
- module iOSPictureMBS
- method SaveImageAtPathToSavedPhotosAlbum(ImageFile as FolderItem, CompletionDelegate as ImageSaveCompletedMBS)
- method SaveImageAtPathToSavedPhotosAlbum(ImagePath as String, CompletionDelegate as ImageSaveCompletedMBS)
- method SaveVideoAtPathToSavedPhotosAlbum(VideoFile as FolderItem, CompletionDelegate as VideoSaveCompletedMBS)
- method SaveVideoAtPathToSavedPhotosAlbum(VideoPath as String, CompletionDelegate as VideoSaveCompletedMBS)
- method VideoAtPathIsCompatibleWithSavedPhotosAlbum(VideoFile as FolderItem) as Boolean
- method VideoAtPathIsCompatibleWithSavedPhotosAlbum(VideoPath as String) as Boolean
- method WriteImageToSavedPhotosAlbum(Pic as Picture, CompletionDelegate as ImageSaveCompletedMBS)
- delegate ImageSaveCompletedMBS(error as NSErrorMBS)
- delegate VideoSaveCompletedMBS(videoPath as String, error as NSErrorMBS)
- module iOSPictureMBS
Release notes
- Version 21.1
- Added iOSPictureMBS module with methods and delegates to export video or image to camera roll.
- Version 20.3
- Changed RenderSamplesMBS to raise exception for out of memory situation.
- Version 20.2
- Fixed CreatePicturePalette method in PaletteCalculatorMBS as well as transform methods to work better on 64-bit and use less memory.
- Version 19.3
- Added currentFactory property and NewPictureMBS method for PictureFactoryMBS class.
- Version 18.5
- Fixed bug in PaletteCalculatorMBS.GetNearestIndexOfColor with color parameter.
- Version 17.0
- Deprecated BinaryStringtoPictureMBS and PicturetoBinaryStringMBS. Please move to PNG format instead.
The items on this page are in the following plugins: MBS Picture Plugin, MBS Util Plugin, MBS Win Plugin.