No description
Find a file
rodolpheh 8ed96bb266
All checks were successful
/ Build executable for Linux x64 (push) Successful in 1m46s
/ Build executable for Windows x64 (push) Successful in 1m22s
/ Build executable for Linux ARM64 (push) Successful in 1m19s
Fix pointer casting of value 0 on Windows
2026-06-16 11:47:39 +01:00
.forgejo/workflows Pin right version (confusing packages page) 2026-06-15 10:28:57 +01:00
src Fix pointer casting of value 0 on Windows 2026-06-16 11:47:39 +01:00
.gitignore Upgrade to Zig 0.16.0 2026-04-25 20:40:41 +01:00
build.zig Fix paths missing on cross-compilation 2026-06-15 10:55:16 +01:00
build.zig.zon Upgrade to Zig 0.16.0 2026-04-25 20:40:41 +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