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
JPEGStringToPictureMBS(buf as string) as picture
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
global method | JPEG | MBS Images Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Short version of the "JPEGStringToPicture(buf as string,allowdamaged as Boolean) as picture" method. allowdamaged is set to false.
See also:
JPEGStringToPictureMBS(buf as string,allowdamaged as Boolean) as picture
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
global method | JPEG | MBS Images Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This methods should read all JPEG file data you can get, but I've only tested it for 32 bit color and 8 bit grayscale.
I wrote it mainly because Xojo's built in OpenAsJPEG code crashes badly if your picture is not full downloaded. For example if you have a webbrowser you can now show JPEGs while you download them. Normally you can see a good picture allready with 50% of the data.
Xojo's OpenAsPicture in contrast crashes if the picture is not 100% downloaded or instead of a crash you get a white picture.
See the "JPEGToString example", "jpeg load crashtest" and "SaveJPEG without QuickTime" examples.
See also:
The items on this page are in the following plugins: MBS Images Plugin.