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.SteganographyPictureMBS(flags as Integer) as Picture

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Graphics & Pictures MBS Picture Plugin 16.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Queries steganography information inside the picture.
Example
const AllChannels = &h111

dim p as new Picture(500, 500, 32)

dim w as new window1
w.Title = "white"
w.Backdrop = p

dim l as Picture = LogoMBS(500)

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

// adds picture. You will normally not see the modification
dim x as Picture = p.AddSteganographyPictureMBS(AllChannels, l)

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

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

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

Flags can be a combination of red (&h100), green (&h010) and blue (&h001).

Some examples using this method:

Blog Entries

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


💬 Ask a question or report a problem