No description
Find a file
2026-04-04 08:50:27 +01:00
src Add auto-scaling 2026-04-04 08:50:27 +01:00
.gitignore Commit all code 2026-04-01 09:31:48 +01:00
build.zig Switch to translateC unit instead of cImport 2026-04-02 22:26:40 +01:00
build.zig.zon Commit all code 2026-04-01 09:31:48 +01:00
README.md Fix typo in name of executable (pbm -> pnm) 2026-04-01 10:41:18 +01:00

ZPNM Viewer

This is a simple viewer for PNM (Portable aNymap Format) images, using my own PNM parsing library, zpnm. It uses fensterl for the display, and should work on Mac, Windows and Linux (X11 only), but was only tested on Linux so far.

Build

# Small executable
zig build -Doptimize=ReleaseSmall

# Fast executable (don't know if that much faster)
zig build -Doptimize=ReleaseFast

Usage

zpnm-viewer - a PNM (Portable aNymap Format) viewer

Usage:
  zpnm-viewer file

Parameters:
  file    The file to parse and display