{"id":29351965,"url":"https://github.com/mubin6th/zinc","last_synced_at":"2025-07-09T00:34:33.232Z","repository":{"id":189724021,"uuid":"681039349","full_name":"mubin6th/Zinc","owner":"mubin6th","description":"An Image Processor. Written in C.","archived":false,"fork":false,"pushed_at":"2025-01-26T07:10:51.000Z","size":16352,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T18:54:40.315Z","etag":null,"topics":["c","graphics","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/mubin6th.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}},"created_at":"2023-08-21T06:16:30.000Z","updated_at":"2025-01-26T07:10:55.000Z","dependencies_parsed_at":"2025-02-27T16:27:21.878Z","dependency_job_id":"925c6e5a-4a0f-4dc1-883d-9ed6dd82ac45","html_url":"https://github.com/mubin6th/Zinc","commit_stats":null,"previous_names":["mubinmuhammad/zinc","mubin6th/zinc"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mubin6th/Zinc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mubin6th%2FZinc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mubin6th%2FZinc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mubin6th%2FZinc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mubin6th%2FZinc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mubin6th","download_url":"https://codeload.github.com/mubin6th/Zinc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mubin6th%2FZinc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264370928,"owners_count":23597677,"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":["c","graphics","image-processing"],"created_at":"2025-07-09T00:31:24.054Z","updated_at":"2025-07-09T00:34:33.190Z","avatar_url":"https://github.com/mubin6th.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/MubinMuhammad/Zinc/blob/master/readme_res/logo.png?raw=true\" \n  alt=\"Zinc Logo\" \n  width=500 /\u003e \n\n  \u003cp align=\"center\"\u003e\n    Zinc, an image processor \u003cb\u003ewritten in C\u003c/b\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n## Supported Effects\n- GrayScale\n    - Avarage\n    - Luminosity\n    - Lightness\n- Brightness adjustment\n- Tinting\n- Inverting colors\n- Cropping\n    - Without changing the resolution\n    - Changing the resolution\n\n## Building\nIf you are using Windows you do have to use mingw32 or mingw64. On Mac \u0026 Linux you should install the \"gcc\" package. Then you can run:\n```bash\n$ make # exe will be generated in the projects root directory.\n$ make install # if you would like it to be globally accessible.\n$ make uninstall # uninstall zinc.\n```\n\n## Usage\nrun `./zinc --help` for more information. For ease of use here is the output:\n```\nPattern:\n  for Linux \u0026 Mac:\n    ./zinc [Options] [Image]\n  for Windows:\n    zinc [Options] [Image]\n\nNote:\n  You have to give the parameters after function call.\n  You neigther have to put \u003c\u003e brackets nor commas when \u003cr,g,b\u003e or \u003cx,y\u003e is specified.\n  Just put values and spaces between the parameters.\n    Example: 0.43 0.654 0.12 (r,g,b example)\n             425 645         (x,y example).\n\n  Lastly I used factors instead of percentages. As it's more accurate.\n    Example: for brightness, setting factor to 2.0 will double the brightness.\n             for tinting, changing the r value to 1.5 will increase half of the red value.\n\nOptions:\n  -v, --version                                    check the version of zinc.\n\n  -h, --help                                       show this help message.\n\n  -o, --output                                     choose a name for the output file.\n\n  -g, --gray                                       turn an image gray.\n\n  -gl, --gray-lumin                                turn the image gray with rgb values that fits human eyes.\n\n  -gli, --gray-light                               turn the image gray with min,max values.\n\n  -ti, --tint \u003cr,g,b\u003e                              tint the image with the \u003cr,g,b\u003e values.\n\n  -br, --brightness \u003cfactor\u003e                       change the brightness depending on the percentage.\n\n  -in --invert                                     invert the colors of the image.\n\n  -cwctr, --cropwctr \u003cx1,y1\u003e \u003cx2,y2\u003e \u003cr,g,b\u003e       crop the image without changing the resolution.\n                                                   x1,y1 = top left coordinate. x2,y2 = bottom right coordinate.\n                                                   r,g,b = color for the uncropped areas.\n\n  -cctr, --cropctr \u003cx1,y1\u003e \u003cx2,y2\u003e                 crop the image and change the resolution.\n                                                   x1,y1 = top left coordinate.\n                                                   x2,y2 = bottom right coordinate.\n\n  -th, --threshold \u003cintensity\u003e                     turns the image black and white depending on the threshold.\n                                                   \u003cintensity\u003e ranges from 0 to 255.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmubin6th%2Fzinc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmubin6th%2Fzinc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmubin6th%2Fzinc/lists"}