kristoisberg/samp-grayscale-bitmap
A test script for my colour manipulation library for grayscaling bitmaps for open.mp and SA-MP.
L’auteur a archivé ce dépôt, il n’est donc plus maintenu.
Ce dépôt n’a pas de fichier de licence. Il est public en lecture, mais cela ne donne pas à lui seul le droit de le réutiliser.
Installer avec sampctl
sampctl package install kristoisberg/samp-grayscale-bitmap
Lance ceci dans le dossier de ton projet. sampctl télécharge le paquet et ce dont il dépend.
Ajoute ses fichiers include, avec les bibliothèques dont il dépend, au compilateur Pawn de ton navigateur, prêts à être inclus dans un script.
Dépend de 4 paquets
- sampctl/samp-stdlibpas dans cet annuaire
- kristoisberg/pawn-colour-manipulation★ 6
- pawn-lang/YSI-Includes★ 226
- 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
Cette page est construite à partir de ce que GitHub publie sur le dépôt. samp.directory n’héberge pas le code. Signaler un problème avec cette fiche