Picture 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 Picture class.

Picture.SetSteganographyPictureMBS(flags as Integer, data as Picture) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Graphics & Pictures MBS Picture Plugin 16.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds steganography to an existing picture.
Example
const AllChannels = &h111

dim p as new Picture(500, 500, 32)
dim l as Picture = LogoMBS(500)

dim w as new window1
w.Title = "Logo"
w.Backdrop = l

// adds picture. You will normally not see the modification
if p.SetSteganographyPictureMBS(AllChannels, l) then

w = new window1
w.Title = "Logo hidden in white picture"
w.Backdrop = p

// as we store in lowest bit, this picture will look strange
dim y as Picture = p.SteganographyPictureMBS(AllChannels)

w = new window1
w.Title = "Logo extracted"
w.Backdrop = y
end if

Flags can be a combination of red (&h100), green (&h010) and blue (&h001).
Returns true on success or false on failure.

Function does not handle mask or alpha channel.

Blog Entries

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


💬 Ask a question or report a problem