{"id":19438071,"url":"https://github.com/labnol/img2css","last_synced_at":"2025-04-30T11:22:13.082Z","repository":{"id":149095860,"uuid":"5956923","full_name":"labnol/img2css","owner":"labnol","description":"convert arbitrary images into huge, browser-crashing CSS box-shadow settings ","archived":false,"fork":false,"pushed_at":"2012-08-20T04:20:34.000Z","size":92,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-30T15:46:53.605Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"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/labnol.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":"2012-09-25T21:31:25.000Z","updated_at":"2024-12-01T04:04:44.000Z","dependencies_parsed_at":"2023-03-30T12:43:43.568Z","dependency_job_id":null,"html_url":"https://github.com/labnol/img2css","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/labnol%2Fimg2css","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labnol%2Fimg2css/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labnol%2Fimg2css/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labnol%2Fimg2css/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/labnol","download_url":"https://codeload.github.com/labnol/img2css/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251689009,"owners_count":21627815,"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-11-10T15:16:51.001Z","updated_at":"2025-04-30T11:22:13.057Z","avatar_url":"https://github.com/labnol.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"img2css\n=======\n\nConvert arbitrary images into huge, browser-crashing CSS box-shadow settings.\n\nExample\n-------\n[http://rmer.info/css\\_mona\\_lisa.html](http://rmer.info/css_mona_lisa.html) (your browser will likely not be happy with your decision to visit this link).\n\n\nUsage\n-----\n* Don't, obviously\n\nBut I want to\n-------------\n* Edit img2css.js, change \"img.src = 'mona.jpg'\" to point to some (local) image resource you would like to make much more unwieldy\n* Point a recent version of Firefox at example.html. The initial rendering seems to only work in Firefox, but the generated CSS \"works\" broadly among modern browsers\n* You should see two copies of your image, possibly after a lengthy wait. Inspect the second one with Firebug to get a copy of its CSS attribute\n* Dump the CSS into your stylesheet, under say .mona-lisa, go nuts\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabnol%2Fimg2css","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flabnol%2Fimg2css","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabnol%2Fimg2css/lists"}