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.
- Host: GitHub
- URL: https://github.com/reybits/sprite-extractor
- Owner: reybits
- License: mit
- Created: 2025-02-21T04:36:57.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-21T04:38:48.000Z (over 1 year ago)
- Last Synced: 2025-03-14T16:46:07.835Z (over 1 year ago)
- Topics: extractor, image-processing, linux, macos, sprite-editor, zx-spectrum, zxspectrum
- Language: C
- Homepage:
- Size: 110 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.

## 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.