Skip to content

aseprite plugin to extract bytes for use in embedded applications

Notifications You must be signed in to change notification settings

colegarien/byte-board

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Usage

  1. compress to a .zip
  2. change file extension to .aseprite-extension
  3. Edit -> Preferences -> Extensions -> Add Extension... to add the extension to aseprite

Purpose

This will convert the selected area into a monochrome uint8_t array and copy that array to the clipboard for easy tranfer of graphics from asepsrite to device firmware.

Example Ouput:

// size: 8 x 5
static const uint8_t THE_IMG[] = {
  0b00010000,
  0b00011000,
  0b00110100,
  0b01111010,
  0b01111110,
};

Important Notes

  • the script will pad 0's to the nearest 8bit alignment
  • the script will read only the active layer + cel + selection

About

aseprite plugin to extract bytes for use in embedded applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages