A C++ playground for experimenting with images loaded using Starlet Serializer.
-
Supported Image Formats: BMP, TGA
-
Output to Console ASCII
- Output to Coloured Console ASCII
# Basic usage
./starlet-image-sandbox
# Specify an image file
./starlet-image-sandbox -p path/to/image
# Adjust ASCII scaling
./starlet-image-sandbox -x 8 -y 16
# Use coloured output mode
./starlet-image-sandbox -m ascii_colour
# Custom ASCII gradient
./starlet-image-sandbox -g " .:-=+*#%@"--help, -h- Show help message--path, -p <path>- Image file path (default: beetle.tga)--scale-x, -x <int>- Horizontal scaling factor (default: 16)--scale-y, -y <int>- Vertical scaling factor (default: 32)--gradient, -g <str>- ASCII gradient string (default: '@%#*+=-:. ')--mode, -m <mode>- Output mode:asciiorascii_colour(default: ascii)
- starlet-serializer (auto-fetched)
- C++20 compatible compiler
- One of the following Build Systems,
- CMake 3.14+
- Meson 1.1+
git clone https://github.com/starlet-engine/image-sandbox.git
cd starlet-image-sandboxcmake -B build
cmake --build buildmeson setup build
meson compile -C build
