{"id":22645473,"url":"https://github.com/aqlx86/image-color","last_synced_at":"2025-04-12T00:33:57.480Z","repository":{"id":56949669,"uuid":"76130784","full_name":"aqlx86/image-color","owner":"aqlx86","description":"Creates a data-uri based on the image dominant color.","archived":false,"fork":false,"pushed_at":"2016-12-10T18:58:22.000Z","size":2,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T20:21:14.052Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aqlx86.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-10T18:42:47.000Z","updated_at":"2021-11-15T12:14:25.000Z","dependencies_parsed_at":"2022-08-21T07:50:19.351Z","dependency_job_id":null,"html_url":"https://github.com/aqlx86/image-color","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aqlx86%2Fimage-color","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aqlx86%2Fimage-color/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aqlx86%2Fimage-color/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aqlx86%2Fimage-color/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aqlx86","download_url":"https://codeload.github.com/aqlx86/image-color/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248501696,"owners_count":21114676,"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-12-09T06:05:41.974Z","updated_at":"2025-04-12T00:33:57.457Z","avatar_url":"https://github.com/aqlx86.png","language":"PHP","readme":"# ImageColor\n\nCreates a data-uri based on the image dominant color.\n\n## Requirements\n\nImageMagick extension should be present.\n\n## Usage\n\n```\nrequire './vendor/autoload.php';\n\n$image_url = 'https://www.elephantnaturepark.org/wp-content/uploads/2016/06/Lek_20may2016_01_n.jpg';\n\n$i = new ImageColor\\ImageColor($image_url);\n\necho $i-\u003eget_data_uri();\n\n```\n\n## Credits\n\n* https://manu.ninja/dominant-colors-for-lazy-loading-images\n* https://www.webrocker.de/2016/03/28/dominant-color-in-an-image/","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faqlx86%2Fimage-color","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faqlx86%2Fimage-color","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faqlx86%2Fimage-color/lists"}