An open API service indexing awesome lists of open source software.

https://github.com/reybits/sprite-extractor

A sprite viewer and extractor for any binary file, supporting 1-bit per pixel (black & white) and 8-bit per pixel (grayscale) formats.
https://github.com/reybits/sprite-extractor

extractor image-processing linux macos sprite-editor zx-spectrum zxspectrum

Last synced: about 1 month ago
JSON representation

A sprite viewer and extractor for any binary file, supporting 1-bit per pixel (black & white) and 8-bit per pixel (grayscale) formats.

Awesome Lists containing this project

README

          

# Sprite Extractor

A utility for viewing sprites in binary files, useful for finding graphics in ROM/TAP files from vintage home computers like the ZX Spectrum. Renders raw binary data as a grid of pixels, allowing navigation and adjustment of sprite dimensions.

![Sprite Extractor](.github/screenshots/window.png)

## Dependencies

- SDL2
- SDL2_ttf
- CMake 3.22+

## Build and Run

```sh
make release
./sprite-extractor path/to/binary/file
```

## Controls

Press `?` in the application to show the full help overlay.

| Key | Action |
|-|-|
| Up / Down | Scroll by line |
| Shift + Up / Down | Scroll by byte |
| PageUp / PageDown | Scroll by page |
| Home / End | Go to start / end |
| Mouse Wheel | Scroll |
| + / - | Zoom in / out |
| B | Toggle border |
| Ctrl + Left / Right | Change sprite width |
| Ctrl + Up / Down | Change sprite height |
| Ctrl + B | Toggle 1 / 8 bpp |
| Ctrl + PgUp / PgDn | Adjust page size |
| ? | Toggle help overlay |
| Escape | Quit |

## License

MIT License. Copyright (c) 2014 Andrey A. Ugolnik.