samp.directory
← Скрипты и библиотеки

kristoisberg/samp-grayscale-bitmap

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

Библиотека★ 2обновлён окт. 2020 г.Без лицензииPawnsampctlВ архиве
Открыть на GitHub

Автор отправил этот репозиторий в архив, он больше не поддерживается.

В этом репозитории нет файла лицензии. Код открыт для чтения, но само по себе это не даёт права использовать его.

Установка через sampctl

sampctl package install kristoisberg/samp-grayscale-bitmap

Выполните в папке проекта. sampctl скачает пакет и его зависимости.

Зависит от 4 пакетов

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

Страница собрана из того, что GitHub публикует о репозитории. samp.directory не хранит этот код. Сообщить о проблеме с этой записью