home/categories/media/ecnu-icalk-autoskill-skillbank-convskill-english-gpt4-8-load-inverted-grayscale-image-with-pil-skill-md
mediacontent-media

load-inverted-grayscale-image-with-pil

Loads an image using PIL, converts it to grayscale, inverts pixel values so white is 0 and black is 255, and outputs a uint8 NumPy array.

ECNU-ICALK
maintainer
ECNU-ICALK
Updated 3/16/2026
Stars
304
Forks
34
quick start

Installation and usage

Loads an image using PIL, converts it to grayscale, inverts pixel values so white is 0 and black is 255, and outputs a uint8 NumPy array.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use load-inverted-grayscale-image-with-pil