Development of pngcheck 4
  • C 97.7%
  • CMake 0.9%
  • Makefile 0.8%
  • Roff 0.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Cosmin Truta bd33ad6490 ci: Simplify GitHub Actions build matrices and release workflow
Reduce the CMake build matrix to 4 configurations:
- Ubuntu (ubuntu-latest, using gcc)
- macOS (macos-latest, using clang)
- Windows MSVC (windows-latest)
- Windows MSYS2 (windows-latest, using gcc)

Simplify the Makefile build for Ubuntu only -- no matrix needed.

Streamline the release workflow to produce Windows binaries only.
Downstream maintainers will build and package the builds for all
other platforms.
2025-12-15 09:35:03 -05:00
.github/workflows ci: Simplify GitHub Actions build matrices and release workflow 2025-12-15 09:35:03 -05:00
amiga chore: Add an .editorconfig file and clean up the README files 2025-03-31 14:56:34 -04:00
third_party/wildargs Update the wildargs subproject, fixing a missed compiler+runtime combo 2025-06-09 16:08:03 -04:00
.editorconfig chore: Add an .editorconfig file and clean up the README files 2025-03-31 14:56:34 -04:00
.gitignore chore: Apply a quick fix to .gitignore 2025-07-18 10:15:49 -04:00
CHANGELOG Update CHANGELOG for 4.0.1 release 2025-12-10 13:18:42 -05:00
CMakeLists.txt Change current version to 4.0.1 throughout 2025-12-10 15:54:41 -05:00
INSTALL.md feat: add Github Actions for CMake and Make: Ubuntu, macOS, Windows 2025-07-21 16:13:08 -04:00
LICENSE Remove the auxiliary tools pngsplit and png-fix-IDAT-windowsize (#27) 2025-03-05 12:24:22 -05:00
Makefile Require the zlib library as a non-optional dependency 2025-06-05 08:55:22 -04:00
Makefile.riscos Require the zlib library as a non-optional dependency 2025-06-05 08:55:22 -04:00
pngcheck.1 Change current version to 4.0.1 throughout 2025-12-10 15:54:41 -05:00
pngcheck.c Change current version to 4.0.1 throughout 2025-12-10 15:54:41 -05:00
README-303 New readme for forked version. Update changelog. 2025-01-24 17:12:20 -05:00
README.md Add caBX support, bump verson to 4.0.1 2025-12-08 16:52:47 -05:00

pngcheck 4.0.1

pngcheck is a command-line utility to check PNG image files, including animated PNG, for validity and to give information about metadata inside the file (apart from the actual image data).

This version was derived from pngcheck 3.0.3 (see 3.0.3 README) and adds the following new features from PNG Third Edition:

  • Coding Independent Code Points cICP
  • Mastering Display Color Volume mDCV
  • Content Light Level Information cLLI
  • Animated PNG acTL, fcTL and fdAT

It adds the following new features from PNG Fourth Edition:

  • Content Credentials caBX

It also warns if eXIf is found after the image data IDAT, which will be ignored by web browsers and is no longer valid in PNG Third Edition.

All registered extension chunks are supported, including the recently registered (but widespread) Apple iDOT chunk.

Sample usage:

$ pngcheck -c -v test_pattern-PQ.png
File: test_pattern-PQ.png (12033 bytes)
  chunk IHDR at offset 0x0000c, length 13
    1024 x 1024 image, 48-bit RGB, non-interlaced
  chunk iCCP at offset 0x00025, length 2181
    profile name = 1, compression method = 0 (deflate)
    compressed profile = 2178 bytes
  chunk cHRM at offset 0x008b6, length 32
    White x = 0.3127 y = 0.329,  Red x = 0.708 y = 0.292
    Green x = 0.17 y = 0.797,  Blue x = 0.131 y = 0.046
  chunk cICP at offset 0x008e2, length 4
    Rec. ITU-R BT.2100-2 perceptual quantization (PQ) system
    White x = 0.3127 y = 0.329,  Red x = 0.708 y = 0.292
    Green x = 0.17 y = 0.797,  Blue x = 0.131 y = 0.046
    Full range
  chunk cLLi at offset 0x008f2, length 8
    Old version of CLLI, do not use
ERRORS DETECTED in test_pattern-PQ.png