TRMNL API
HomeBuy a Device
  • 👋Overview
  • How it Works
  • Private Plugins
    • Screen Templating
    • Screen Templating (Graphics)
    • Create a screen
  • DIY TRMNL (Advanced)
    • Introduction
    • BYOD
    • BYOD/S
    • BYOS
  • ImageMagick Guide
  • Plugin Marketplace
    • Introduction
    • Plugin Creation
    • Plugin Installation Flow
    • Plugin Management Flow
    • Plugin Screen Generation Flow
    • Plugin Uninstallation Flow
    • Going Live
  • Private API
    • Introduction
    • Fetch Screen Content
    • Fetch Plugin Content
    • Account API
  • Partners API
    • Introduction
    • Getting Started
    • Provisioning Devices
Powered by GitBook
On this page
  • Generating a BMP3 image
  • Generating a PNG image

ImageMagick Guide

PreviousBYOSNextIntroduction

Last updated 20 hours ago

TRMNL supports BMP3 and PNG images natively, starting with . Below are some tips to generate TRMNL compatible images for DIY devices or / plugin applications.

Generating a BMP3 image

Convert command

magick input.png -monochrome -colors 2 -depth 1 -strip bmp3:output.bmp

Identify command

% magick identify output.bmp 
output.bmp BMP3 800x480 800x480+0+0 1-bit sRGB 2c 48062B 0.020u 0:00.001

Please note that the output of above needs to match exactly with your file.

Generating a PNG image

Convert command

magick input.png -monochrome -colors 2 -depth 1 -strip png:output.png

Identify command

% magick identify output.png 
output.png PNG 800x480 800x480+0+0 8-bit Grayscale Gray 2c 1607B 0.000u 0:00.000
FW v1.5.2
Alias
Redirect