Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

Picture class

Type Topic Version
class Graphics & Pictures
Function: Extends Realbasic's Picture Class.

Feedback, Comments & Corrections

  • property EmbeddedMaskMBS(swap as boolean) as picture
  • 127 methods
    • 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 BMPDataMBS(ResolutionValueDPI as Integer=72) as string
    • method CalcSteganographyMBS(flags as Integer) as Integer
    • method CGColorSpaceMBS as CGColorSpaceMBS
    • 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

This class has no sub classes.

Some useful global functions for this class:

Some methods using this class:

Some properties using for this class:

Some events for this class:


The items on this page are in the following plugins: MBS MacCG Plugin, MBS Picture Plugin.


PHPMBS   -   PictureConvolutionMBS





Links
MBS Xojo Chart Plugins