mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00

A downgrade from 16-bit samples to 8-bit samples, or an expansion from 1- or 2-channel grayscale (or grayscale+alpha) to 3- or 4-channel RGB (or RGB+alpha), etc., may be deemed generally useful. Such image transforms could be made available to the user via command-line options. On the other hand, keeping the decision to disable or enable these transforms unconditionally at compile time (e.g. because they're needed to work around a specific printer's limitations) is less than ideal.
15 lines
849 B
Plaintext
15 lines
849 B
Plaintext
pnm2png / png2pnm --- conversion from PBM/PGM/PPM-file to PNG-file
|
|
copyright (C) 1999-2019 by Willem van Schaik <willem at schaik dot com>
|
|
|
|
version 1.0 - 1999.10.15 - First version.
|
|
1.1 - 2015.07.29 - Fix memory leaks (Glenn Randers-Pehrson)
|
|
1.2 - 2017.04.22 - Add buffer-size check
|
|
1.3 - 2017.08.24 - Fix potential overflow in buffer-size check
|
|
(Glenn Randers-Pehrson)
|
|
1.4 - 2017.08.28 - Add PNGMINUS_UNUSED (Christian Hesse)
|
|
1.5 - 2018.08.05 - Fix buffer overflow in tokenizer (Cosmin Truta)
|
|
1.6 - 2018.08.05 - Improve portability and fix style (Cosmin Truta)
|
|
1.7 - 2019.01.22 - Change license to MIT (Willem van Schaik)
|
|
1.8 - 2024.01.09 - Fix, improve, modernize (Cosmin Truta)
|
|
1.9 - 2025.01.10 - Delete conditionally-compiled code (Cosmin Truta)
|