Skip to content

matanlurey/pxl.dart

Repository files navigation

pxl

A tiny cross-platform pixel buffer and foundation for pixel-based graphics.

Pxl on pub.dev Code coverage Github action status Dartdocs Style guide

Usage

import 'package:pxl/pxl.dart';

Features

Example

  • Create and manipulate in-memory integer or floating-point pixel buffers.
  • Define and convert between pixel formats.
  • Palette-based indexed pixel formats.
  • Buffer-to-buffer blitting with automatic format conversion and blend modes.
  • Region-based pixel manipulation, replacement, and copying.

Contributing

To run the tests, run:

dart test

To check code coverage locally, run:

./chore coverage

To preview dartdoc output locally, run:

./chore dartodc

Inspiration and Sources