Platforms to show: All Mac Windows Linux Cross-Platform
Back to JPEGExporterMBS class.
JPEGExporterMBS.data as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JPEG | MBS Images Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If file is nil, the compressed data is saved in this property.
The returned string has the encoding set to MacRoman. If you want to concat the string with another you should change the encoding, so both strings have the same encoding. If you don't handle that RB may convert the JPEG data to UTF8 (Unicode) which will destroy it.
(Read and Write property)
JPEGExporterMBS.DCTMethod as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JPEG | MBS Images Plugin | 15.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Possible values:
-1 | Plugin does not change setting |
0 | slow but accurate integer algorithm (default) |
1 | faster, less accurate integer method |
2 | floating-point: accurate, fast on fast Hardware |
(Read and Write property)
JPEGExporterMBS.ErrorCode as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JPEG | MBS Images Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The last function was successfull if ErrorCode is 0.
If the parameters are not valid, the value is set to -1.
Other values are Mac OS error codes.
(Read and Write property)
JPEGExporterMBS.ErrorMessage as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JPEG | MBS Images Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read and Write property)
JPEGExporterMBS.EXIFData as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JPEG | MBS Images Plugin | 10.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The export methods use this property.
(Read and Write property)
JPEGExporterMBS.file as folderitem
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JPEG | MBS Images Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If file is nil and path is "", the destination is the data property.
(Read and Write property)
JPEGExporterMBS.HorizontalResolution as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JPEG | MBS Images Plugin | 3.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read and Write property)
JPEGExporterMBS.OptimizeCoding as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JPEG | MBS Images Plugin | 10.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This usually provides a small percentage decrease in file size.
(Read and Write property)
JPEGExporterMBS.Path as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JPEG | MBS Images Plugin | 19.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If file is nil and path is "", the destination is the data property.
(Read and Write property)
JPEGExporterMBS.Picture as Picture
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JPEG | MBS Images Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Should be a bitmap picture without alpha channel or mask.
(Read and Write property)
JPEGExporterMBS.ProfileData as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JPEG | MBS Images Plugin | 7.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
the string must contain the binary data of the profile. For example SaveProfileToString of the CMProfileMBS class returns such a string.
If the string is empty, no profile is written.
(Read and Write property)
JPEGExporterMBS.Progressive as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JPEG | MBS Images Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is true.
(Read and Write property)
JPEGExporterMBS.Quality as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JPEG | MBS Images Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Range from 0 to 100. Default is 75.
(Read and Write property)
JPEGExporterMBS.ResolutionUnit as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JPEG | MBS Images Plugin | 3.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Values:
0 | unknown |
1 | dots per inch |
2 | dots per cm |
JPEGExporterMBS.VerticalResolution as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JPEG | MBS Images Plugin | 3.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read and Write property)
JPEGExporterMBS.WarningMessage as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JPEG | MBS Images Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read and Write property)
JPEGExporterMBS.XMPData as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JPEG | MBS Images Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The export methods use this property.
(Read and Write property)
JPEGExporterMBS.YieldTicks as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JPEG | MBS Images Plugin | 7.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If value is greater than zero, the application will yield to another RB thread after the given number of ticks have passed. 60 ticks are one second. Using a small value can slow down processing a lot while a big value keeps your application not responding to mouse clicks.
If you use this property with e.g. 6 as the value, you may also want to use this method in a thread so you can handle mouse events or let Xojo redraw a progressbar.
(Read and Write property)
The items on this page are in the following plugins: MBS Images Plugin.