kristoisberg/samp-grayscale-bitmap
A test script for my colour manipulation library for grayscaling bitmaps for open.mp and SA-MP.
The author has archived this repository, so it is no longer maintained.
This repository has no licence file. It is public to read, but that alone does not give permission to reuse it.
Install with sampctl
sampctl package install kristoisberg/samp-grayscale-bitmap
Run this in your project folder. sampctl downloads the package and what it depends on.
Adds its include files, with the libraries it depends on, to the Pawn compiler in your browser, ready to include in a script.
Depends on 4 packages
- sampctl/samp-stdlibnot in this directory
- kristoisberg/pawn-colour-manipulation★ 6
- pawn-lang/YSI-Includes★ 227
- Southclaws/samp-bitmapper★ 6
README.md
samp-grayscale-bitmap
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.
Installation
Simply install to your project:
sampctl package install kristoisberg/samp-grayscale-bitmap
Include in your code and begin using the library:
#include <grayscale-bitmap>
Usage
bool:GrayscaleBitmap(const load_path[], const save_path[], width, height) // GreyscaleBitmap also works
Testing
To test, simply run the package:
sampctl package run
grayscalegrayscale-imagespawnpawn-packagesa-mpsa-mp-librarytesttesting
This page is built from what GitHub publishes about the repository. samp.directory does not host the code. Report a problem with this listing