{"id":21870930,"url":"https://github.com/stregasgate/libpng","last_synced_at":"2026-05-17T18:08:57.766Z","repository":{"id":155995646,"uuid":"378486663","full_name":"STREGAsGate/LibPNG","owner":"STREGAsGate","description":"A libpng binding package for Swift","archived":false,"fork":false,"pushed_at":"2021-11-21T20:43:39.000Z","size":470,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T22:24:29.387Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/STREGAsGate.png","metadata":{"files":{"readme":"README-libpng","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-19T19:07:11.000Z","updated_at":"2025-01-09T06:17:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"adb23f45-1f05-4c59-bfc5-3e648304de80","html_url":"https://github.com/STREGAsGate/LibPNG","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/STREGAsGate/LibPNG","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STREGAsGate%2FLibPNG","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STREGAsGate%2FLibPNG/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STREGAsGate%2FLibPNG/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STREGAsGate%2FLibPNG/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/STREGAsGate","download_url":"https://codeload.github.com/STREGAsGate/LibPNG/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STREGAsGate%2FLibPNG/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33149519,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-28T06:12:58.957Z","updated_at":"2026-05-17T18:08:57.737Z","avatar_url":"https://github.com/STREGAsGate.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"README for libpng version 1.6.37 - April 14, 2019\n=================================================\n\nSee the note about version numbers near the top of png.h.\nSee INSTALL for instructions on how to install libpng.\n\nLibpng comes in several distribution formats.  Get libpng-*.tar.gz or\nlibpng-*.tar.xz or if you want UNIX-style line endings in the text\nfiles, or lpng*.7z or lpng*.zip if you want DOS-style line endings.\n\nVersion 0.89 was the first official release of libpng.  Don't let the\nfact that it's the first release fool you.  The libpng library has been\nin extensive use and testing since mid-1995.  By late 1997 it had\nfinally gotten to the stage where there hadn't been significant\nchanges to the API in some time, and people have a bad feeling about\nlibraries with versions \u003c 1.0.  Version 1.0.0 was released in\nMarch 1998.\n\n****\nNote that some of the changes to the png_info structure render this\nversion of the library binary incompatible with libpng-0.89 or\nearlier versions if you are using a shared library.  The type of the\n\"filler\" parameter for png_set_filler() has changed from png_byte to\npng_uint_32, which will affect shared-library applications that use\nthis function.\n\nTo avoid problems with changes to the internals of the png info_struct,\nnew APIs have been made available in 0.95 to avoid direct application\naccess to info_ptr.  These functions are the png_set_\u003cchunk\u003e and\npng_get_\u003cchunk\u003e functions.  These functions should be used when\naccessing/storing the info_struct data, rather than manipulating it\ndirectly, to avoid such problems in the future.\n\nIt is important to note that the APIs did not make current programs\nthat access the info struct directly incompatible with the new\nlibrary, through libpng-1.2.x.  In libpng-1.4.x, which was meant to\nbe a transitional release, members of the png_struct and the\ninfo_struct can still be accessed, but the compiler will issue a\nwarning about deprecated usage.  Since libpng-1.5.0, direct access\nto these structs is not allowed, and the definitions of the structs\nreside in private pngstruct.h and pnginfo.h header files that are not\naccessible to applications.  It is strongly suggested that new\nprograms use the new APIs (as shown in example.c and pngtest.c), and\nolder programs be converted to the new format, to facilitate upgrades\nin the future.\n****\n\nAdditions since 0.90 include the ability to compile libpng as a\nWindows DLL, and new APIs for accessing data in the info struct.\nExperimental functions include the ability to set weighting and cost\nfactors for row filter selection, direct reads of integers from buffers\non big-endian processors that support misaligned data access, faster\nmethods of doing alpha composition, and more accurate 16-\u003e8 bit color\nconversion.\n\nThe additions since 0.89 include the ability to read from a PNG stream\nwhich has had some (or all) of the signature bytes read by the calling\napplication.  This also allows the reading of embedded PNG streams that\ndo not have the PNG file signature.  As well, it is now possible to set\nthe library action on the detection of chunk CRC errors.  It is possible\nto set different actions based on whether the CRC error occurred in a\ncritical or an ancillary chunk.\n\nFor a detailed description on using libpng, read libpng-manual.txt.\nFor examples of libpng in a program, see example.c and pngtest.c.  For\nusage information and restrictions (what little they are) on libpng,\nsee png.h.  For a description on using zlib (the compression library\nused by libpng) and zlib's restrictions, see zlib.h\n\nI have included a general makefile, as well as several machine and\ncompiler specific ones, but you may have to modify one for your own\nneeds.\n\nYou should use zlib 1.0.4 or later to run this, but it MAY work with\nversions as old as zlib 0.95.  Even so, there are bugs in older zlib\nversions which can cause the output of invalid compression streams for\nsome images.\n\nYou should also note that zlib is a compression library that is useful\nfor more things than just PNG files.  You can use zlib as a drop-in\nreplacement for fread() and fwrite(), if you are so inclined.\n\nzlib should be available at the same place that libpng is, or at\nhttps://zlib.net.\n\nYou may also want a copy of the PNG specification.  It is available\nas an RFC, a W3C Recommendation, and an ISO/IEC Standard.  You can find\nthese at http://www.libpng.org/pub/png/pngdocs.html .\n\nThis code is currently being archived at libpng.sourceforge.io in the\n[DOWNLOAD] area, and at http://libpng.download/src .\n\nThis release, based in a large way on Glenn's, Guy's and Andreas'\nearlier work, was created and will be supported by myself and the PNG\ndevelopment group.\n\nSend comments/corrections/commendations to png-mng-implement at\nlists.sourceforge.net (subscription required; visit\nhttps://lists.sourceforge.net/lists/listinfo/png-mng-implement\nto subscribe).\n\nSend general questions about the PNG specification to png-mng-misc\nat lists.sourceforge.net (subscription required; visit\nhttps://lists.sourceforge.net/lists/listinfo/png-mng-misc to\nsubscribe).\n\nFiles in this distribution:\n\n      ANNOUNCE      =\u003e  Announcement of this version, with recent changes\n      AUTHORS       =\u003e  List of contributing authors\n      CHANGES       =\u003e  Description of changes between libpng versions\n      KNOWNBUG      =\u003e  List of known bugs and deficiencies\n      LICENSE       =\u003e  License to use and redistribute libpng\n      README        =\u003e  This file\n      TODO          =\u003e  Things not implemented in the current library\n      TRADEMARK     =\u003e  Trademark information\n      example.c     =\u003e  Example code for using libpng functions\n      libpng.3      =\u003e  manual page for libpng (includes libpng-manual.txt)\n      libpng-manual.txt  =\u003e  Description of libpng and its functions\n      libpngpf.3    =\u003e  manual page for libpng's private functions\n      png.5         =\u003e  manual page for the PNG format\n      png.c         =\u003e  Basic interface functions common to library\n      png.h         =\u003e  Library function and interface declarations (public)\n      pngpriv.h     =\u003e  Library function and interface declarations (private)\n      pngconf.h     =\u003e  System specific library configuration (public)\n      pngstruct.h   =\u003e  png_struct declaration (private)\n      pnginfo.h     =\u003e  png_info struct declaration (private)\n      pngdebug.h    =\u003e  debugging macros (private)\n      pngerror.c    =\u003e  Error/warning message I/O functions\n      pngget.c      =\u003e  Functions for retrieving info from struct\n      pngmem.c      =\u003e  Memory handling functions\n      pngbar.png    =\u003e  PNG logo, 88x31\n      pngnow.png    =\u003e  PNG logo, 98x31\n      pngpread.c    =\u003e  Progressive reading functions\n      pngread.c     =\u003e  Read data/helper high-level functions\n      pngrio.c      =\u003e  Lowest-level data read I/O functions\n      pngrtran.c    =\u003e  Read data transformation functions\n      pngrutil.c    =\u003e  Read data utility functions\n      pngset.c      =\u003e  Functions for storing data into the info_struct\n      pngtest.c     =\u003e  Library test program\n      pngtest.png   =\u003e  Library test sample image\n      pngtrans.c    =\u003e  Common data transformation functions\n      pngwio.c      =\u003e  Lowest-level write I/O functions\n      pngwrite.c    =\u003e  High-level write functions\n      pngwtran.c    =\u003e  Write data transformations\n      pngwutil.c    =\u003e  Write utility functions\n      arm           =\u003e  Contains optimized code for the ARM platform\n      powerpc       =\u003e  Contains optimized code for the PowerPC platform\n      contrib       =\u003e  Contributions\n       arm-neon         =\u003e  Optimized code for ARM-NEON platform\n       powerpc-vsx      =\u003e  Optimized code for POWERPC-VSX platform\n       examples         =\u003e  Example programs\n       gregbook         =\u003e  source code for PNG reading and writing, from\n                            Greg Roelofs' \"PNG: The Definitive Guide\",\n                            O'Reilly, 1999\n       libtests         =\u003e  Test programs\n       mips-msa         =\u003e  Optimized code for MIPS-MSA platform\n       pngminim         =\u003e  Minimal decoder, encoder, and progressive decoder\n                            programs demonstrating use of pngusr.dfa\n       pngminus         =\u003e  Simple pnm2png and png2pnm programs\n       pngsuite         =\u003e  Test images\n       testpngs\n       tools            =\u003e  Various tools\n       visupng          =\u003e  Contains a MSVC workspace for VisualPng\n      intel             =\u003e  Optimized code for INTEL-SSE2 platform\n      mips              =\u003e  Optimized code for MIPS platform\n      projects      =\u003e  Contains project files and workspaces for\n                        building a DLL\n       owatcom          =\u003e  Contains a WATCOM project for building libpng\n       visualc71        =\u003e  Contains a Microsoft Visual C++ (MSVC)\n                            workspace for building libpng and zlib\n       vstudio          =\u003e  Contains a Microsoft Visual C++ (MSVC)\n                            workspace for building libpng and zlib\n      scripts       =\u003e  Directory containing scripts for building libpng:\n                            (see scripts/README.txt for the list of scripts)\n\nGood luck, and happy coding!\n\n * Cosmin Truta (current maintainer, since 2018)\n * Glenn Randers-Pehrson (former maintainer, 1998-2018)\n * Andreas Eric Dilger (former maintainer, 1996-1997)\n * Guy Eric Schalnat (original author and former maintainer, 1995-1996)\n   (formerly of Group 42, Inc.)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstregasgate%2Flibpng","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstregasgate%2Flibpng","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstregasgate%2Flibpng/lists"}