PictureSepiaMBS methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to PictureSepiaMBS class.

PictureSepiaMBS.close

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Graphics & Pictures MBS Picture Plugin 4.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The destructor.

There is no need to call this method except you want to free all resources of this object now without waiting for Xojo to do it for you.

PictureSepiaMBS.Run as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Graphics & Pictures MBS Picture Plugin 4.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Runs the picture effect.

Fails if the pictures are not bitmap pictures. Source and Destination can be equal. If you provide a destination picture, the dimenstions of source and destination must be equal.

For each pixel this method does:

sourcepixel=sourcepicture.pixel(x,y)
r=sourcepixel.red
g=sourcepixel.green
b=sourcepixel.blue

sum = r * RedFactor + g * GreenFactor + b * BlueFactor

r = sum + SepiaColor.red
g = sum + SepiaColor.green
b = sum + SepiaColor.blue

destinationpicture.pixel(x,y) = rgb(r,g,b)

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


💬 Ask a question or report a problem