Platforms to show: All Mac Windows Linux Cross-Platform

Picture.AutoLevelMBS as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Graphics & Pictures MBS Picture Plugin 9.1 ✅ Yes ✅ Yes ❌ No ✅ Yes All
Function: Applies auto levels on the picture.
The histogram is built, white and back points are searched and all pixels adjusted.
Returns true on success and false on any error.
Thanks to Jeff Thoman for his code.

This version of the method modifies the pixels on the picture. Works on 32bit and 24bit pictures.

If you get a type mismatch error on using this function, you may want to use AutoLevelCopyMBS which is the old behavior.

Blog Entries

Feedback, Comments & Corrections

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

The biggest plugin in space...

MBS Xojo Plugins

Start Chat