Platforms to show: All Mac Windows Linux Cross-Platform

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

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Graphics & Pictures MBS Picture Plugin 10.1 ✅ Yes ✅ Yes ❌ No ✅ Yes All
Colorizes a picture.
Example
dim p as Picture = SpecialFolder.Pictures.Child("test2.tif").OpenAsPicture

if ColorizePictureMBS(p, p.mask, 1.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 0.1) then
Backdrop=p
end if

The given pictures are edited. As editing pictures works only on Mac and Windows if the pictures are 24 or 32 bit, this does not work on Linux.
Returns true on success and false on failure.

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


The biggest plugin in space...