{"id":19188922,"url":"https://github.com/kelvins/imgproc","last_synced_at":"2026-06-22T19:30:25.183Z","repository":{"id":84557977,"uuid":"76179928","full_name":"kelvins/imgproc","owner":"kelvins","description":":mount_fuji: Go package that provides simple image processing functions","archived":false,"fork":false,"pushed_at":"2017-06-01T00:28:01.000Z","size":382,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-04T06:17:34.428Z","etag":null,"topics":["golang","image-processing"],"latest_commit_sha":null,"homepage":"","language":"Go","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/kelvins.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":"2016-12-11T14:37:55.000Z","updated_at":"2020-06-30T22:48:27.000Z","dependencies_parsed_at":"2023-03-12T23:36:57.857Z","dependency_job_id":null,"html_url":"https://github.com/kelvins/imgproc","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelvins%2Fimgproc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelvins%2Fimgproc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelvins%2Fimgproc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelvins%2Fimgproc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kelvins","download_url":"https://codeload.github.com/kelvins/imgproc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240266854,"owners_count":19774072,"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":["golang","image-processing"],"created_at":"2024-11-09T11:26:42.635Z","updated_at":"2026-06-22T19:30:25.119Z","avatar_url":"https://github.com/kelvins.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"imgproc\n==========================\n\n[![Build Status](https://circleci.com/gh/kelvins/imgproc.svg?style=shield\u0026circle-token=:circle-token)](https://circleci.com/gh/kelvins/imgproc)\n\n\nGoLang package that provides simple image processing functions.\n\nUse:\n\n`go get github.com/kelvins/imgproc`\n\nFunctions:\n----\n\n- [X] IsGrayscale\n- [X] ToGrayscale\n- [X] ConvertImageToSlice\n- [X] ResizeImage\n- [X] SaveImage\n- [X] LoadImage\n- [X] LoadMultipleImages\n\nExample:\n----\n\n``` go\nimport (\n    \"fmt\"\n    \"log\"\n    \"github.com/kelvins/imgproc\"\n)\n\nimg, err := imgproc.LoadImage(\"./face.png\")\nif err != nil {\n    log.Fatal(err)\n}\n\ngrayscaleImage := imgproc.ToGrayscale(img)\n\nerr = imgproc.SaveImage(grayscaleImage, \"./face.png\")\nif err != nil {\n    log.Fatal(err)\n}\n\nif imgproc.IsGrayscale(grayscaleImage) {\n    fmt.Println(\"It is a grayscale image\")\n} else {\n    fmt.Println(\"It is not a grayscale image\")\n}\n\nimageSlice := imgproc.ConvertImageToSlice(grayscaleImage)\n\nresizedImage, err = imgproc.ResizeImage(grayscaleImage, 100, 100)\nif err != nil {\n    log.Fatal(err)\n}\n```\n\nDependency:\n----\n\nIt uses the `imaging` package to resize the image.\n\n`github.com/disintegration/imaging`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkelvins%2Fimgproc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkelvins%2Fimgproc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkelvins%2Fimgproc/lists"}