{"id":30098491,"url":"https://github.com/zoni123/image-compressor","last_synced_at":"2025-08-09T13:06:41.706Z","repository":{"id":279689859,"uuid":"933807042","full_name":"zoni123/image-compressor","owner":"zoni123","description":"An image compressor written in C.","archived":false,"fork":false,"pushed_at":"2025-08-02T10:33:45.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-02T12:33:48.910Z","etag":null,"topics":["bmp-image","c","c-programming","c-programming-language","c-project","compression-algorithm","image-compression","image-processing","linear-algebra","ppm-image","singular-value-decomposition","work-in-progress"],"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/zoni123.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":"2025-02-16T18:23:43.000Z","updated_at":"2025-08-02T10:33:49.000Z","dependencies_parsed_at":"2025-02-26T22:22:44.627Z","dependency_job_id":"38616f6c-e998-44e8-ab59-fca460b7960b","html_url":"https://github.com/zoni123/image-compressor","commit_stats":null,"previous_names":["zoni123/image-compressor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zoni123/image-compressor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoni123%2Fimage-compressor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoni123%2Fimage-compressor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoni123%2Fimage-compressor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoni123%2Fimage-compressor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zoni123","download_url":"https://codeload.github.com/zoni123/image-compressor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoni123%2Fimage-compressor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269580358,"owners_count":24441530,"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","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bmp-image","c","c-programming","c-programming-language","c-project","compression-algorithm","image-compression","image-processing","linear-algebra","ppm-image","singular-value-decomposition","work-in-progress"],"created_at":"2025-08-09T13:06:36.264Z","updated_at":"2025-08-09T13:06:41.667Z","avatar_url":"https://github.com/zoni123.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# image-compressor\n\n## Overview\n\nAn image compressor which works with P3 and P6 .ppm formats and with 24-bit .bmp format, with 4 levels of compression available. It uses the SVD provided by LAPACK to compress images.\n\n## Installation\n\n### Prerequisites\n\n- GCC\n- LAPACK + LAPACKE\n- BLAS\n\n### Windows (MSYS2)\n\n1. **Install MSYS2**:\n\t- Download and install MSYS2 from [MSYS2](https://www.msys2.org/).\n\n2. **Update MSYS2**:\n\t- Open the MSYS2 MSYS terminal:\n\t```sh\n\tpacman -Syu\n\t```\n\n3. **Install GCC, LAPACK, BLAS, and LAPACKE**:\n\t- Open the MSYS2 MSYS terminal:\n\t```sh\n\tpacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-lapack mingw-w64-x86_64-lapacke mingw-w64-x86_64-openblas\n\t```\n\n4. **Set Environment Variables**:\n\t- Ensure that the `bin` directory of MSYS2 MinGW-w64 is added to your system's `PATH`.\n\n### Unix-like Systems (Linux, macOS)\n\n1. **Install GCC**:\n\t- On Debian-based systems:\n    ```sh\n    sudo apt-get update\n    sudo apt-get install build-essential\n    ```\n\t- On Red Hat-based systems:\n    ```sh\n    sudo dnf install gcc gcc-c++\n    ```\n\n2. **Install LAPACK, BLAS, and LAPACKE**:\n\t- On Debian-based systems:\n    ```sh\n    sudo apt-get install liblapack-dev libblas-dev liblapacke-dev\n    ```\n\t- On Red Hat-based systems:\n    ```sh\n    sudo dnf install lapack-devel blas-devel lapacke-devel\n    ```\n\n## Build/Clean\n\n```sh\nmake build\n```\n\n```sh\nmake clean\n```\n\n## Usage\n\n```sh\n./image_compressor \u003cinput_image1.ppm/.bmp\u003e \u003cinput_image2.ppm/.bmp\u003e ... \u003cinput_image32.ppm/.bmp\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoni123%2Fimage-compressor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzoni123%2Fimage-compressor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoni123%2Fimage-compressor/lists"}