From 2f7d7adfcf4bec55fa5e007947e4a455e85d8930 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Tue, 20 Jan 2026 18:01:12 +0100 Subject: Update bundled libpng to last upstream version 1.6.54 --- png/libpng.3 | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) (limited to 'png/libpng.3') diff --git a/png/libpng.3 b/png/libpng.3 index 8980a252b..481ddebb4 100644 --- a/png/libpng.3 +++ b/png/libpng.3 @@ -1,6 +1,6 @@ -.TH LIBPNG 3 "July 1, 2025" +.TH LIBPNG 3 "January 12, 2026" .SH NAME -libpng \- Portable Network Graphics (PNG) Reference Library 1.6.50 +libpng \- Portable Network Graphics (PNG) Reference Library 1.6.54 .SH SYNOPSIS \fB#include \fP @@ -528,9 +528,9 @@ libpng-manual.txt - A description on how to use and modify libpng Based on: - libpng version 1.6.36, December 2018, through 1.6.50 - July 2025 + libpng version 1.6.36, December 2018, through 1.6.54 - January 2026 Updated and distributed by Cosmin Truta - Copyright (c) 2018-2025 Cosmin Truta + Copyright (c) 2018-2026 Cosmin Truta libpng versions 0.97, January 1998, through 1.6.35 - July 2018 Updated and distributed by Glenn Randers-Pehrson @@ -3874,19 +3874,6 @@ Here is an example of writing two private chunks, prVt and miNE: /* Needed because miNE is not safe-to-copy */ png_set_keep_unknown_chunks(png, PNG_HANDLE_CHUNK_ALWAYS, (png_bytep) "miNE", 1); - # if PNG_LIBPNG_VER < 10600 - /* Deal with unknown chunk location bug in 1.5.x and earlier */ - png_set_unknown_chunk_location(png, info, 0, PNG_HAVE_IHDR); - png_set_unknown_chunk_location(png, info, 1, PNG_AFTER_IDAT); - # endif - # if PNG_LIBPNG_VER < 10500 - /* PNG_AFTER_IDAT writes two copies of the chunk prior to libpng-1.5.0, - * one before IDAT and another after IDAT, so don't use it; only use - * PNG_HAVE_IHDR location. This call resets the location previously - * set by assignment and png_set_unknown_chunk_location() for chunk 1. - */ - png_set_unknown_chunk_location(png, info, 1, PNG_HAVE_IHDR); - # endif #endif .SS The high-level write interface -- cgit v1.2.3