Notice: This repository is not being actively maintained anymore. If anyone wishes to continue the development of the project, please create a fork of the repository and release future versions there.
This library was originally intended to be a test script for pawn-colour-manipulation, but I decided to turn this into an actual library. The library, in theory, is ready to be used, but due to an issue with samp-bitmapper it doesn't actually work yet.
Simply install to your project:
sampctl package install kristoisberg/samp-grayscale-bitmap
Include in your code and begin using the library:
#include <grayscale-bitmap>
bool:GrayscaleBitmap(const load_path[], const save_path[], width, height) // GreyscaleBitmap also works
To test, simply run the package:
sampctl package run