SkillAgentSearch skills...

Zplify

Convert an image to a ZPL label parsable by a zebra printer

Install / Use

/learn @nelsontkq/Zplify

README

Zplify - Image to ZPL converter

Convert PNG, JPG, or any supported image type to ZPL for a Zebra printer.

Prints the ZPL directly to the console unless -o or --output is provided, then it will save the zpl to the target file.

Options

The full list of available options are as follows:

-l --length             Set the length of the label in pixels. 1200px is default.  
-w --width              Set the width of the label in pixels. 800px is default.  
-o --output             Set the output path. If omitted, the label will output to the terminal 
-i --interpolation-mode Set the interpolation mode. 1-7, default is 7
                        1=Low, 2=High, 3=Bilinear, 4=Bicubic 5=NearestNeighbor 6=HighQualityBilinear 7=HighQualityBicubic
-h --help               Display this message  

Example usage

# send directly to zebra printer
./zplify ./path/to/file.png | lpr
# save to output.zpl and resize.
./zplify ./path/to/file.png -o output.zpl -l 1800 -w 800
# pipe input from URL, convert to ZPL and send to printer
wget -O www.example.com/label.png | ./zplify | lpr -P printer_name

System requirements

Requires .net 5 runtime.

macOS

App requires libgdiplus. You can install with brew:

brew install mono-libgdiplus
View on GitHub
GitHub Stars41
CategoryDevelopment
Updated1mo ago
Forks12

Languages

C#

Security Score

95/100

Audited on Feb 24, 2026

No findings