{"id":17641655,"url":"https://github.com/rogeriopvl/8bit","last_synced_at":"2025-08-21T10:31:01.018Z","repository":{"id":57093234,"uuid":"43093930","full_name":"rogeriopvl/8bit","owner":"rogeriopvl","description":"🎮 Transform images into pixelated artwork","archived":false,"fork":false,"pushed_at":"2023-05-17T07:32:53.000Z","size":66,"stargazers_count":92,"open_issues_count":5,"forks_count":14,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-09-19T17:17:38.703Z","etag":null,"topics":["8bit","image","npm","pixel","pixelate"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/rogeriopvl.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":"2015-09-24T21:26:32.000Z","updated_at":"2024-08-15T17:03:21.000Z","dependencies_parsed_at":"2024-06-19T10:11:06.068Z","dependency_job_id":null,"html_url":"https://github.com/rogeriopvl/8bit","commit_stats":{"total_commits":14,"total_committers":3,"mean_commits":4.666666666666667,"dds":0.1428571428571429,"last_synced_commit":"b826386a92b3d7ee6039b692ac158930590123fe"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogeriopvl%2F8bit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogeriopvl%2F8bit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogeriopvl%2F8bit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogeriopvl%2F8bit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rogeriopvl","download_url":"https://codeload.github.com/rogeriopvl/8bit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230507051,"owners_count":18236944,"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":["8bit","image","npm","pixel","pixelate"],"created_at":"2024-10-23T07:07:27.218Z","updated_at":"2024-12-19T22:07:57.624Z","avatar_url":"https://github.com/rogeriopvl.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 8Bit | ![CI status](https://github.com/rogeriopvl/8bit/actions/workflows/test.yml/badge.svg?branch=master)\n\n8Bit is a javascript module that converts an image into a pixelated version using canvas.\n\nYou can find a demo [here](https://jsfiddle.net/fLajrmun/2/).\n\n## Install\n\n### NPM\n\n    npm install 8bit\n\n### Bower\n\n    bower install 8bit\n\n### Direct file link\n\n    \u003cscript type=\"text/javascript\" src=\"https://cdn.rawgit.com/rogeriopvl/8bit/master/8bit.js\"\u003e\u003c/script\u003e\n\n## Usage\n\n```javascript\nvar eightBit = require('8bit'); // only needed for NPM installs\n\nvar img = new Image();\nimg.onload = function () {\n    eightBit(document.getElementById('mycanvas'), img, 10);\n};\nimg.src = 'http://foobar.com/your_image.png';\n```\n\n### API\n\n- `eightBit(canvas, image, scaleFactor)`\n    - `canvas` - canvas element that will be used to place the pixelated version of the image\n    - `image` - image HTMLElement to pixelate\n    - `scaleFactor` - Number between 0 and 100, lower is more pixelated.\n\n## License\n\nMIT (see LICENSE file)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogeriopvl%2F8bit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frogeriopvl%2F8bit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogeriopvl%2F8bit/lists"}