Recipes
Short task-oriented snippets. Each one is self-contained — copy, adapt to your input shapes, ship.
- Scale a logo to printer width — fit an oversized source into the dot-width of a specific printer.
- Stack a header above a body bitmap — compose two pre-rendered bitmaps into one label.
- Render text and an image into one label — combine
renderTextandrenderImageoutput side-by-side or stacked. - Find the right gamma — empirical procedure for calibrating darkness per printer/tape combination.
Have a recipe you wish was here? Open a discussion at github.com/mbtech-nl/bitmap.