Jump to content

Libpng: Difference between revisions

From EDM2
mNo edit summary
Ak120 (talk | contribs)
mNo edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
A multi-platform open source [[C]] library for creating, reading and writing [[PNG]] graphic files. It was originally created as a reference implementation and library for the PNG file format and is therefore written in an old ANSI C89 dialect to make it more portable and usable with even vintage C compilers.
{{Software
|Picture=NA.png
|Name=libpng
|Version=1.6.39 (Nov 2022)
|Author=Guy Eric Schalnat, <br/>Andreas Dilger, <br/>John Bowler, <br/>Glenn Randers-Pehrson, <br/>Cosmin Truta
|Licence=[[Zlib Licence]]
|WWW=http://www.libpng.org/pub/png/libpng.html
}}
'''libpng''' is a multi-platform open source [[C]] library for creating, reading and writing Portable Network Graphics (PNG) files. It was originally created as a reference implementation and library for the PNG file format and is therefore written in [[ANSI C]] (C89) to make it more portable and usable with even vintage C compilers.


There are currently two binary release available for OS/2, libpng 1.6.18 compiled with [[GCC]] and a libpng 1.5.27 compiled with the [[EMX]] version of the GCC, the EMX version is actually newer and should suffice in most cases, but it is a bit of a judgement call which version you actually choose to use.
;Requirements:
 
*zlib 1.0.4 or later
There are older versions available on the usual download sites if you are porting older software that relied on older versions of the libpng library, but the API of the library was changed a bit between 1.4 and 1.5 branches, and again between 1.5 and 1.6, so using them might ease porting a bit, however it is recommended if possible to try to change the handling of the library I/O to at the least version 1.5.23 of the library as older versions have a nasty memory leaking bug and a few known vulnerabilities as well.


==Version==
==Version==
* Last known OS/2 GCC version: [http://hobbes.nmsu.edu/download/pub/os2/dev/mm/libpng-1.6.18.zip libpng 1.6.18] (2015-08-30)
There are currently two ports available for OS/2, built for kLIBC and for the [[emx]] runtime. The EMX version is actually newer and should suffice in most cases.
* Last known OS/2 EMX version: [http://hobbes.nmsu.edu/h-search.php?sh=1&button=Search&key=libpng-1.5.27.zip libpng 1.5.27] (2016-07-02)
;Prerequisites
* [[EMX]] 0.9c or later for the EMX version.
* [[kLIBC066]] for the GCC version.


==Links==
There are older versions available on the usual download sites if you are porting older software that relied on older versions. The API of the library was changed a bit between 1.4 and 1.5 branches, and again between 1.5 and 1.6, so using them might ease porting a bit. However it is recommended if possible to try to change the handling of the library I/O to at the least version 1.5.x as older versions have a nasty memory leaking bug and a few known vulnerabilities as well.
* [http://www.libpng.org/pub/png/libpng.html Libpng homepage]
* [http://libpng.sourceforge.net/index.html Libpng page] on [[SourceForge]]
* [http://sourceforge.net/projects/libpng/ Libpng SourceForge project page]


==Licence==
* 1.0.3 (1999)
Open source software released under the [[Zlib Licence]], with a couple of extra essentially meaningless disclaimers and clauses that assert the open source nature of the library.
* 1.0.18 (2005)
* 1.0.69 (2017-09-28)
* 1.2.59 (2017-09-28)
* 1.4.22 (2017-09-28)
* 1.5.30 (2017-09-28) - [[Mikuláš Patočka]] emx 0.9c port: [libpng-1.5.30.zip] (2018-03-29)
* 1.6.28 (2017-01-05) - [[KO Myung-Hun]] kLIBC port: [libpng-1.6.28.zip] (2017-01-23)
* 1.6.46 (2025-01)


==Authors==
==Links==
* Guy Eric Schalnat (Original author)
* [http://www.libpng.org/pub/png/book/sources.html PNG: The Definitive Guide: Source Code]
* Andreas Eric Dilger (Maintainer, 1996-1997)
* [http://libpng.sourceforge.net Libpng SourceForge]
* Glenn Randers-Pehrson (Current maintainer)
* [[Mikuláš Patočka]] (OS/2 EMX port)
* [[KO Myung-Hun]] (OS/2 GCC port)


[[Category:C]]
[[Category:C Libraries]][[Category:Software written in C]][[Category:Open Source Software]]
[[Category:Software written in C]]
[[Category:Open Source Software]]
[[Category:Generic Unix Tools]]
[[Category:MS Windows Tools]]
[[Category:MAC Finder Tools]]
[[Category:BeOS Tools]]
[[Category:Amiga Tools]]

Latest revision as of 23:37, 8 June 2025

Libpng
Name libpng
Version 1.6.39 (Nov 2022)
Vendor
Author Guy Eric Schalnat,
Andreas Dilger,
John Bowler,
Glenn Randers-Pehrson,
Cosmin Truta
Licence Zlib Licence
WWW http://www.libpng.org/pub/png/libpng.html

libpng is a multi-platform open source C library for creating, reading and writing Portable Network Graphics (PNG) files. It was originally created as a reference implementation and library for the PNG file format and is therefore written in ANSI C (C89) to make it more portable and usable with even vintage C compilers.

Requirements
  • zlib 1.0.4 or later

Version

There are currently two ports available for OS/2, built for kLIBC and for the emx runtime. The EMX version is actually newer and should suffice in most cases.

There are older versions available on the usual download sites if you are porting older software that relied on older versions. The API of the library was changed a bit between 1.4 and 1.5 branches, and again between 1.5 and 1.6, so using them might ease porting a bit. However it is recommended if possible to try to change the handling of the library I/O to at the least version 1.5.x as older versions have a nasty memory leaking bug and a few known vulnerabilities as well.

  • 1.0.3 (1999)
  • 1.0.18 (2005)
  • 1.0.69 (2017-09-28)
  • 1.2.59 (2017-09-28)
  • 1.4.22 (2017-09-28)
  • 1.5.30 (2017-09-28) - Mikuláš Patočka emx 0.9c port: [libpng-1.5.30.zip] (2018-03-29)
  • 1.6.28 (2017-01-05) - KO Myung-Hun kLIBC port: [libpng-1.6.28.zip] (2017-01-23)
  • 1.6.46 (2025-01)

Links