Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

PNGOptimizerMBS.BytesSaved as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Pictures Import and Export MBS Images Plugin 8.7 Yes Yes Yes Yes No
Function: After the optimization this property shows how many bytes were saved.
Notes: (Read and Write property)

Feedback, Comments & Corrections

PNGOptimizerMBS.Debug as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Pictures Import and Export MBS Images Plugin 18.3 Yes Yes Yes Yes No
Function: Enables debug output.
Notes: (Read and Write property)

Feedback, Comments & Corrections

PNGOptimizerMBS.Fix as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Pictures Import and Export MBS Images Plugin 18.3 Yes Yes Yes Yes No
Function: Enable error recovery.
Notes: (Read and Write property)

Feedback, Comments & Corrections

PNGOptimizerMBS.Force as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Pictures Import and Export MBS Images Plugin 8.7 Yes Yes Yes Yes No
Function: Enforce writing of a new output file.
Notes:
If the input image has a digital signature, the library will not optimize the file unless force=true.
(Read and Write property)

Feedback, Comments & Corrections

PNGOptimizerMBS.full as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Pictures Import and Export MBS Images Plugin 8.7 Yes Yes Yes Yes No
Function: Whether to produce a full report on IDAT (might reduce speed).
Notes: (Read and Write property)

Feedback, Comments & Corrections

PNGOptimizerMBS.InputFile as Folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Pictures Import and Export MBS Images Plugin 8.7 Yes Yes Yes Yes No
Function: The file to process.
Notes: (Read and Write property)

Feedback, Comments & Corrections

PNGOptimizerMBS.interlace as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Pictures Import and Export MBS Images Plugin 8.7 Yes Yes Yes Yes No
Function: The interlace type (0-1).
Notes:
Set by default to -1 for undefined.
(Read and Write property)

Feedback, Comments & Corrections

PNGOptimizerMBS.KeepBackup as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Pictures Import and Export MBS Images Plugin 8.7 Yes Yes Yes Yes No
Function: Whether to keep a backup of the modified files.
Notes:
If the file exists and KeepBackup=false an error is reported. If you set KeepBackup=True the old file is renamed.
(Read and Write property)

Feedback, Comments & Corrections

PNGOptimizerMBS.NoBitDepthReduction as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Pictures Import and Export MBS Images Plugin 8.7 Yes Yes Yes Yes No
Function: Whether to not do a bit depth reduction.
Notes:
Reducing the bit depth of the image data can reduce the file size.
(Read and Write property)

Feedback, Comments & Corrections

PNGOptimizerMBS.NoColorTypeReduction as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Pictures Import and Export MBS Images Plugin 8.7 Yes Yes Yes Yes No
Function: Whether to not do a color type reduction.
Notes:
If your PNG file has only 256 colors in use, the optimizer can use a color palette to save space.
(Read and Write property)

Feedback, Comments & Corrections

PNGOptimizerMBS.NoIDATRecompression as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Pictures Import and Export MBS Images Plugin 8.7 Yes Yes Yes Yes No
Function: Whether to not recompress the image data.
Notes: (Read and Write property)

Feedback, Comments & Corrections

PNGOptimizerMBS.NoPaletteReduction as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Pictures Import and Export MBS Images Plugin 8.7 Yes Yes Yes Yes No
Function: Whether to not reduce the palette.
Notes:
If not all colors are used, the palette can be reduced in its size.
(Read and Write property)

Feedback, Comments & Corrections

PNGOptimizerMBS.OptimizationLevel as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Pictures Import and Export MBS Images Plugin 8.7 Yes Yes Yes Yes No
Function: The optimization level.
Notes:
A value between 0 and 7.
Default is 2.
(Read and Write property)

Feedback, Comments & Corrections

PNGOptimizerMBS.OutputFile as Folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Pictures Import and Export MBS Images Plugin 8.7 Yes Yes Yes Yes No
Function: The output file.
Notes: (Read and Write property)

Feedback, Comments & Corrections

PNGOptimizerMBS.Overwrite as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Pictures Import and Export MBS Images Plugin 18.3 Yes Yes Yes Yes No
Function: Overwrite existing files.
Notes: (Read and Write property)

Feedback, Comments & Corrections

PNGOptimizerMBS.Preserve as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Pictures Import and Export MBS Images Plugin 8.7 Yes Yes Yes Yes No
Function: Whether to preserve file attributes if possible.
Notes: (Read and Write property)

Feedback, Comments & Corrections

PNGOptimizerMBS.Quiet as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Pictures Import and Export MBS Images Plugin 18.3 Yes Yes Yes Yes No
Function: Run in quiet mode.
Notes: (Read and Write property)

Feedback, Comments & Corrections

PNGOptimizerMBS.simulate as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Pictures Import and Export MBS Images Plugin 8.7 Yes Yes Yes Yes No
Function: Whether the optimization runs only in simulation mode.
Notes:
No file is written in simulation mode.
(Read and Write property)

Feedback, Comments & Corrections

PNGOptimizerMBS.Snip as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Pictures Import and Export MBS Images Plugin 18.3 Yes Yes Yes Yes No
Function: Cut one image out of multi-image or animation files.
Notes: (Read and Write property)

Feedback, Comments & Corrections

PNGOptimizerMBS.StripAll as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Pictures Import and Export MBS Images Plugin 18.3 Yes Yes Yes Yes No
Function: Strip metadata objects .
Notes: (Read and Write property)

Feedback, Comments & Corrections

PNGOptimizerMBS.Verbose as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Pictures Import and Export MBS Images Plugin 18.3 Yes Yes Yes Yes No
Function: Run in verbose mode / show copyright and version info.
Notes: (Read and Write property)

Feedback, Comments & Corrections

PNGOptimizerMBS.YieldTicks as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Pictures Import and Export MBS Images Plugin 8.7 Yes Yes Yes Yes No
Function: How much time is given back to REALbasic for other ticks.
Example:
dim p as new PNGOptimizerMBS
p.YieldTicks=6 // only use 1/10th of a second
Notes:
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 REALbasic redraw a progressbar.
(Read and Write property)

Feedback, Comments & Corrections

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





Links
MBS Xojo Plugins