Platforms to show: All Mac Windows Linux Cross-Platform
PNGOptimizerMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Pictures Import and Export | MBS Images Plugin | 8.7 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
OptiPNG: Advanced PNG optimization program.
http://optipng.sourceforge.net/
Copyright (C) 2001-2008 Cosmin Truta.
OptiPNG is open-source software, and is distributed under the same licensing and warranty terms as libpng.
PNG optimization is described in detail in the PNG-Tech article "A guide to PNG optimization"
http://www.cs.toronto.edu/~cosmin/pngtech/optipng.html
The idea of running multiple compression trials with different PNG filters and zlib parameters is inspired from the pngcrush program by Glenn Randers-Pehrson.
The idea of performing lossless image reductions is inspired from the pngrewrite program by Jason Summers.
- 5 events
- event Log(message as string)
- event Panic(message as string)
- event Progress(index as Integer, count as Integer)
- event ProgressBegin
- event ProgressEnd
- 22 properties
- property BytesSaved as Integer
- property Debug as Boolean
- property Fix as Boolean
- property Force as Boolean
- property full as Boolean
- property InputFile as FolderItem
- property interlace as Integer
- property KeepBackup as Boolean
- property NoBitDepthReduction as Boolean
- property NoColorTypeReduction as Boolean
- property NoIDATRecompression as Boolean
- property NoPaletteReduction as Boolean
- property OptimizationLevel as Integer
- property OutputFile as FolderItem
- property Overwrite as Boolean
- property Preserve as Boolean
- property Quiet as Boolean
- property simulate as Boolean
- property Snip as Boolean
- property StripAll as Boolean
- property Verbose as Boolean
- property YieldTicks as Integer
- method Optimize as boolean
This class has no sub classes.
Some examples using this class:
Blog Entries
- MBS Xojo Plugins, version 18.3pr3
- MBS REALbasic Plugins Version 10.4 release notes
- MBS REALbasic Plugins, version 10.4pr3
- MonkeyBread Software Releases the MBS REALbasic plugins 8.7
Release notes
- Version 18.3
- Added Debug, Fix, Overwrite, Quiet, Snip, StripAll and Verbose properties to PNGOptimizerMBS class.
The items on this page are in the following plugins: MBS Images Plugin.