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 JPEGImporterMBS class.
JPEGImporterMBS.BlueTestPicture as picture
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | JPEG | MBS Images Plugin | 5.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Just for testing how well the plugin picture code works.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | JPEG | MBS Images Plugin | 6.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | JPEG | MBS Images Plugin | 3.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This must be called if you used InitJPEG!
Else you have a memory leak.
JPEGImporterMBS.GreenTestPicture as picture
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | JPEG | MBS Images Plugin | 5.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Just for testing how well the plugin picture code works.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | JPEG | MBS Images Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This methods should read all JPEG files 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.
This method uses the YieldTicks property and may yield time to other threads.
Depending on the mode this method can read CMYK and RGB. RGB either to memoryblock or to a picture object.
The memoryblock data must be in the format with bytes in the order RGB.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | JPEG | MBS Images Plugin | 3.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This methods should read all JPEG files you can get, but I've only tested it for 32 bit color and 8 bit grayscale.
The read CMYK values are stored in the picturedata property.
This method uses the YieldTicks property and may yield time to other threads.
JPEGImporterMBS.InitJPEG as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | JPEG | MBS Images Plugin | 3.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Call FinishJPEG even if this failes.
Returns true if you can loop using LoopJPEG.
JPEGImporterMBS.LoopJPEG as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | JPEG | MBS Images Plugin | 3.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Return values:
0 | Decompression was okay |
1 | Finished decompression |
2 | if there was an error. |
3 | Not initialized |
4 | Header only was requested |
JPEGImporterMBS.MarkerCount as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | JPEG | MBS Images Plugin | 6.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Only available if ReadMarkers was true on reading the JPEG data.
JPEGImporterMBS.MarkerItem(index as Integer) as JPEGImporterMarkerMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | JPEG | MBS Images Plugin | 6.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Only available if ReadMarkers was true on reading the JPEG data.
JPEGImporterMBS.ReadHeader as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | JPEG | MBS Images Plugin | 3.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
You can use this function to see if the file is a JPEG image and which dimension it has.
This function calls InitJPEG and FinishJPEG, so we get all the metadata, but no picture.
JPEGImporterMBS.RedTestPicture as picture
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | JPEG | MBS Images Plugin | 5.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Just for testing how well the plugin picture code works.
The items on this page are in the following plugins: MBS Images Plugin.