To further reduce the size of executables compiled by Miniwood, several Miniwood libraries are available in special lightweight versions which are much smaller than the full versions. Here is an overview of all available lite libraries:
animio-liteanimio library except that it doesn't have any inbuilt
loaders and savers for anim formats. Instead, animio-lite library will load
all images using the host operating system only, i.e. it will behave as if
you passed native to the Loader tag of functions like OpenAnim() etc.
On AmigaOS it will use datatypes and on Windows it will use the Windows Imaging
Component (WIC) to load the animations. On macOS and Linux no native anim loaders
are supported which means that on those platforms you have to use the full animio
library. Also note that animio-lite currently doesn't have any support for saving
animations.
imageio-liteimageio library except that it doesn't have any inbuilt
loaders and savers for image formats. Instead, imageio-lite library will load
all images using the host operating system only, i.e. it will behave as if
you passed native to the Loader tag of functions like LoadBrush() etc.
On AmigaOS it will use datatypes, on Windows it will use the Windows Imaging Component
(WIC), on macOS it will use Core Graphics and on Linux it will use GDK. Since imageio-lite
doesn't have any inbuilt loaders it is of course much smaller in size than the
full imageio library. A downside of imageio-lite is that on non-Amiga systems
you'll only be able to load common formats like JPG, BMP and PNG because exotic
formats like IFF ILBM obviously aren't supported by the image loaders that come
with Windows, macOS and Linux. If you want to load exotic image formats on these
systems, you have to use the standard imageio library. Note that the only picture.datatype
on AmigaOS 3 that supports images with alpha channel transparency is the one that
comes with Hyperion's AmigaOS 3.2. All other versions can't load the alpha channels
of images which means that you must use imageio instead of imageio-lite on AmigaOS 3
if you want to load alpha channel images (unless you explicitly target Hyperion AmigaOS 3.2).
Finally, note that imageio-lite currently doesn't have any support for saving images.
text-litetext library except that it doesn't contain an inbuilt
renderer for TrueType fonts and it doesn't contain the inbuilt TrueType fonts
#SANS, #SERIF and #MONOSPACE. Leaving out those inbuilt TrueType fonts and the
platform-independent TrueType renderer saves a lot of space, usually more than 500kb.
Note that text-lite library can still render TrueType text but it will use the
text renderer provided by the host operating system, i.e. it will behave as if
you passed native in the Loader tag of functions such as SetFont() etc.
This has the downside that TrueType text won't look exactly the same between the
different platforms because operating systems use different techniques of rasterizing
the TrueType vector glyphs. So if you want to have a pixel-perfect identical look
of TrueType text on all platforms, you must use the full text library.
vectorpath-litevectorpath library except that it doesn't contain any
inbuilt vector graphics renderer. This means that you must call SetVectorEngine()
before you can draw any vector graphics. Of course, this means that you need
a dedicated vector engine like the vectorgraphics or Pangomonium plugins.