🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

grayscalelib.core

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grayscalelib.core

A protocol for manipulating grayscale data.

0.0.3
PyPI
Maintainers
1

grayscalelib.core

This project defines a protocol for working with grayscale images, videos and containers of arbitrary rank. It also provides a reference implementation in NumPy.

Installation

All releases are published on PyPi, so all the popular installation methods work out-of-the-box. For example, here is how you can install the library using pip.

python -m pip install grayscalelib.core

Usage

The main data structure of this library is the Pixels class. All other functionality is accessible as methods and class methods of this class.

from grayscalelib.core import Pixels

px = Pixels([0.00, 0.25, 0.50, 0.75 1.00])

# List all methods defined on Pixels
dir(px)

Keywords

grayscale

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts