{"id":13418124,"url":"https://github.com/lvandeve/lodepng","last_synced_at":"2025-05-14T02:07:29.347Z","repository":{"id":20001266,"uuid":"23268705","full_name":"lvandeve/lodepng","owner":"lvandeve","description":"PNG encoder and decoder in C and C++.","archived":false,"fork":false,"pushed_at":"2025-05-06T17:06:22.000Z","size":1850,"stargazers_count":2194,"open_issues_count":91,"forks_count":438,"subscribers_count":78,"default_branch":"master","last_synced_at":"2025-05-06T18:24:43.423Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lvandeve.png","metadata":{"files":{"readme":"README.md","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,"zenodo":null}},"created_at":"2014-08-23T23:37:50.000Z","updated_at":"2025-05-06T17:06:26.000Z","dependencies_parsed_at":"2024-05-01T23:11:53.013Z","dependency_job_id":"10ebeea4-6ef3-4ad8-9568-b4b6f8e265a7","html_url":"https://github.com/lvandeve/lodepng","commit_stats":{"total_commits":204,"total_committers":23,"mean_commits":8.869565217391305,"dds":"0.27941176470588236","last_synced_commit":"0b1d9ccfc2093e5d6620cd9a11d03ee6ff6705f5"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvandeve%2Flodepng","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvandeve%2Flodepng/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvandeve%2Flodepng/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvandeve%2Flodepng/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lvandeve","download_url":"https://codeload.github.com/lvandeve/lodepng/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254052838,"owners_count":22006717,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-07-30T22:00:58.700Z","updated_at":"2025-05-14T02:07:24.334Z","avatar_url":"https://github.com/lvandeve.png","language":"C++","funding_links":[],"categories":["TODO scan for Android support in followings","Image Processing","C++","compression","Graphics"],"sub_categories":["PNG"],"readme":"LodePNG\n-------\n\nPNG encoder and decoder in C and C++, without dependencies\n\nHome page: http://lodev.org/lodepng/\n\n### Documentation\n\nDetailed documentation is included in a large comment in the second half of the\nheader file `lodepng.h`.\n\nSource code examples using LodePNG can be found in the examples directory.\n\nAn FAQ can be found on http://lodev.org/lodepng/\n\n### Building\n\nOnly two files are needed to encode and decode PNGs:\n\n* `lodepng.cpp` (or renamed to `lodepng.c`)\n* `lodepng.h`\n\nAll other files are just source code examples, tests, misc utilities, etc...,\nwhich are normally not needed in projects using this.\n\nYou can include the files directly in your project's source tree and its\nmakefile, IDE project file, or other build system. No library is necessary.\n\nIn addition to C++, LodePNG also supports ANSI C (C89), with all the same\nfunctionality: C++ only adds extra convenience API.\n\nFor C, rename `lodepng.cpp` to `lodepng.c`.\n\nConsider using git submodules to include LodePNG in your project.\n\n### Compiling in C++\n\nIf you have a hypothetical `your_program.cpp` that #includes and uses `lodepng.h`,\nyou can build as follows:\n\n`g++ your_program.cpp lodepng.cpp -Wall -Wextra -pedantic -ansi -O3`\n\nor:\n\n`clang++ your_program.cpp lodepng.cpp -Wall -Wextra -pedantic -ansi -O3`\n\nThis shows compiler flags it was designed for, but normally one would use the\ncompiler or build system of their project instead of those commands, and other\nC++ compilers are supported.\n\n### Compiling in C\n\nRename `lodepng.cpp` to `lodepng.c` for this.\n\nIf you have a hypothetical your_program.c that #includes and uses lodepng.h,\nyou can build as follows:\n\n`gcc your_program.c lodepng.c -ansi -pedantic -Wall -Wextra -O3`\n\nor\n\n`clang your_program.c lodepng.c -ansi -pedantic -Wall -Wextra -O3`\n\nThis shows compiler flags it was designed for, but normally one would use the\ncompiler or build system of their project instead of those commands, and other\nC compilers are supported.\n\n### Makefile\n\nThere is a Makefile, but this is not intended for using LodePNG itself since the\nway to use that one is to include its source files in your program. The Makefile\nonly builds development and testing utilities. It can be used as follows:\n\n`make -j`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flvandeve%2Flodepng","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flvandeve%2Flodepng","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flvandeve%2Flodepng/lists"}