{"id":19499852,"url":"https://github.com/valeriyvan/swift-netpbm","last_synced_at":"2025-07-17T15:36:56.435Z","repository":{"id":241266641,"uuid":"804709689","full_name":"valeriyvan/swift-netpbm","owner":"valeriyvan","description":"libnetpbm library as Swift package. libnetpbm is a C programming library for reading, writing, and manipulating Netpbm images.","archived":false,"fork":false,"pushed_at":"2024-08-02T04:45:07.000Z","size":418,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T21:18:24.119Z","etag":null,"topics":["image-manipulation","image-processing"],"latest_commit_sha":null,"homepage":"","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/valeriyvan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["valeriyvan"]}},"created_at":"2024-05-23T05:46:56.000Z","updated_at":"2024-08-02T04:45:07.000Z","dependencies_parsed_at":"2024-06-29T05:34:27.516Z","dependency_job_id":null,"html_url":"https://github.com/valeriyvan/swift-netpbm","commit_stats":null,"previous_names":["valeriyvan/swift-netpbm"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/valeriyvan/swift-netpbm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valeriyvan%2Fswift-netpbm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valeriyvan%2Fswift-netpbm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valeriyvan%2Fswift-netpbm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valeriyvan%2Fswift-netpbm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valeriyvan","download_url":"https://codeload.github.com/valeriyvan/swift-netpbm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valeriyvan%2Fswift-netpbm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265623300,"owners_count":23800138,"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":["image-manipulation","image-processing"],"created_at":"2024-11-10T22:06:30.052Z","updated_at":"2025-07-17T15:36:56.024Z","avatar_url":"https://github.com/valeriyvan.png","language":"C","funding_links":["https://github.com/sponsors/valeriyvan"],"categories":[],"sub_categories":[],"readme":"# swift-netpbm\n\nThis Swift package vends C `libnetpbm` library for image manipulation as `libnetpbm` product. While the `libnetpbm` from the package is fully functional, it is not recommended for direct use in Swift due to compatibility issues. The original `libnetpbm` library is written in a way that does not integrate well with Swift. If there is an error while parsing an image file or during input-output operations, the library may call `exit` or use `longjmp`, depending on its initialization. An `exit` call will cause the app to terminate abruptly, resembling a crash. Utilizing [`longjmp` in Swift results in undefined behavior](https://forums.swift.org/t/on-the-road-to-swift-6/32862/146?page=8).\n\nPorting C `libnetpbm` into Swift is work in progress and not yet ready to be used.\n\nReference to original [Netpbm homepage](https://netpbm.sourceforge.net/doc/).\n\n[Netpbm in Wikipedia](https://en.wikipedia.org/wiki/Netpbm).\n\n[Introduction into libnetpbm](https://netpbm.sourceforge.net/doc/libnetpbm.html).\n\n[Libnetpbm User's Guide](https://netpbm.sourceforge.net/doc/libnetpbm_ug.html) which covers PAM functions recommended to be used.\n\nReferences for legacy interfaces:\n\n* [pbm Functions](https://netpbm.sourceforge.net/doc/libpbm.html);\n\n* [pgm Functions](https://netpbm.sourceforge.net/doc/libpgm.html);\n\n* [ppm Functions](https://netpbm.sourceforge.net/doc/libppm.html);\n\n* [pnm Functions](https://netpbm.sourceforge.net/doc/libpnm.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaleriyvan%2Fswift-netpbm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaleriyvan%2Fswift-netpbm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaleriyvan%2Fswift-netpbm/lists"}