samp.directory
← Skripte und Bibliotheken

kristoisberg/samp-grayscale-bitmap

A test script for my colour manipulation library for grayscaling bitmaps for open.mp and SA-MP.

Bibliothek★ 2aktualisiert Okt. 2020Keine LizenzPawnsampctlArchiviert
Auf GitHub öffnen

Der Autor hat dieses Repository archiviert, es wird also nicht mehr gepflegt.

Dieses Repository hat keine Lizenzdatei. Es ist öffentlich lesbar, aber das allein gibt noch keine Erlaubnis, es weiterzuverwenden.

Mit sampctl installieren

sampctl package install kristoisberg/samp-grayscale-bitmap

Führe das in deinem Projektordner aus. sampctl lädt das Paket und alles herunter, wovon es abhängt.

Im Pawn-Compiler ausprobieren →

Fügt seine Include-Dateien samt der Bibliotheken, von denen es abhängt, dem Pawn-Compiler in deinem Browser hinzu, bereit zum Einbinden in ein Skript.

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

Diese Seite wird aus dem erstellt, was GitHub über das Repository veröffentlicht. samp.directory hostet den Code nicht. Ein Problem mit diesem Eintrag melden