Xojo Conferences

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 Console & Web iOS
global method Graphics & Pictures MBS Picture Plugin 10.1 Yes Yes No Yes No
Function: Colorizes a picture.
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
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.

Feedback, Comments & Corrections

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

MBS FileMaker Plugins