Image Database Module
The full documentation of the 'Image Database' module.
The image database module is designed to provide developers the ability to quickly store and access image data using the multi-threaded downloading and processing of the source images. You may store downscaled versions of the images you may need, to manage your work from one centralized, lightweight place.
Referencing
To reference the module in your project, you may do the following in your class' constructor:
Commands
Image database provides 2 debugging commands that are for general purpose.
imagedb.pending
imagedb.pending
Prints info about the currently pending queued elements.
imagedb.clearinvalid
imagedb.clearinvalid
It will immediately clear any invalid images that exceed the hard limit buffer size of the server (3.9MB), which when bypassed, it'll kick players from the server.
API
Here's a list of the API that you may use in your projects:
The Image Database module is enabled by default and will not enforce the server to be in the modded tab when enabled.
Last updated