{"id":27995574,"url":"https://github.com/chokcoco/img2purediv","last_synced_at":"2025-10-05T01:53:14.458Z","repository":{"id":95026402,"uuid":"61031639","full_name":"chokcoco/img2pureDiv","owner":"chokcoco","description":"任意图片转换为单 div 实现","archived":false,"fork":false,"pushed_at":"2019-02-28T11:57:43.000Z","size":41,"stargazers_count":13,"open_issues_count":0,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-08T20:44:19.430Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/chokcoco.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-06-13T11:40:47.000Z","updated_at":"2025-04-27T04:14:40.000Z","dependencies_parsed_at":"2023-04-04T01:22:56.870Z","dependency_job_id":null,"html_url":"https://github.com/chokcoco/img2pureDiv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chokcoco/img2pureDiv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chokcoco%2Fimg2pureDiv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chokcoco%2Fimg2pureDiv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chokcoco%2Fimg2pureDiv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chokcoco%2Fimg2pureDiv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chokcoco","download_url":"https://codeload.github.com/chokcoco/img2pureDiv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chokcoco%2Fimg2pureDiv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278399683,"owners_count":25980332,"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-10-04T02:00:05.491Z","response_time":63,"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":[],"created_at":"2025-05-08T20:33:40.946Z","updated_at":"2025-10-05T01:53:14.452Z","avatar_url":"https://github.com/chokcoco.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# img2pureDiv \n利用 `canvas` 的 `getImageData` 获取图片每个像素点的 rgba 值。\n\n利用多重 `box-shadow` ，每个像素点的值由一个一重 `box-shadow` 实现。将图片转换为单 div 。\n\n[演示Demo](http://chokcoco.github.io/demo/img2div/html/)\n\n## 个人相关博文\n\n[【CSS进阶】box-shadow 与 filter:drop-shadow 详解及奇技淫巧](https://www.cnblogs.com/coco1s/p/5592136.html)\n\n## license \nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchokcoco%2Fimg2purediv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchokcoco%2Fimg2purediv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchokcoco%2Fimg2purediv/lists"}