{"id":13454553,"url":"https://github.com/matmen/ImageScript","last_synced_at":"2025-03-24T06:30:58.112Z","repository":{"id":41220556,"uuid":"312919660","full_name":"matmen/ImageScript","owner":"matmen","description":"zero-dependency JavaScript image manipulation","archived":false,"fork":false,"pushed_at":"2024-04-03T19:31:09.000Z","size":33010,"stargazers_count":633,"open_issues_count":18,"forks_count":32,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-29T17:28:07.716Z","etag":null,"topics":["deno","gif","hacktoberfest","image","image-manipulation","image-processing","images","javascript","jpeg","jpg","nodejs","picture","png"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/imagescript","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matmen.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}},"created_at":"2020-11-14T23:16:50.000Z","updated_at":"2024-10-28T05:36:26.000Z","dependencies_parsed_at":"2023-01-22T10:15:54.321Z","dependency_job_id":"23393309-4f22-4542-9062-8da9b9893e93","html_url":"https://github.com/matmen/ImageScript","commit_stats":{"total_commits":298,"total_committers":8,"mean_commits":37.25,"dds":"0.30201342281879195","last_synced_commit":"ba1e28c6c7072c892cf5cdbdca93acce30f6b6d7"},"previous_names":[],"tags_count":53,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matmen%2FImageScript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matmen%2FImageScript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matmen%2FImageScript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matmen%2FImageScript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matmen","download_url":"https://codeload.github.com/matmen/ImageScript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245217800,"owners_count":20579297,"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":["deno","gif","hacktoberfest","image","image-manipulation","image-processing","images","javascript","jpeg","jpg","nodejs","picture","png"],"created_at":"2024-07-31T08:00:55.319Z","updated_at":"2025-03-24T06:30:58.089Z","avatar_url":"https://github.com/matmen.png","language":"JavaScript","readme":"# ImageScript\n##### zero-dependency JavaScript image manipulation\n[![Discord Server](https://img.shields.io/discord/691713541262147687.svg?label=Discord\u0026logo=discord\u0026logoColor=ffffff\u0026color=7389D8\u0026labelColor=6A7EC2\u0026style=for-the-badge)](https://discord.gg/8hPrwAH)\n[![Documentation](https://img.shields.io/badge/Documentation-informational?style=for-the-badge)](https://imagescript.matmen.dev/)\n[![Github](https://img.shields.io/badge/Github-Repository-181717?logo=github\u0026style=for-the-badge)](https://github.com/matmen/ImageScript)\n[![deno.land](https://shields.io/badge/deno.land-gray?logo=deno\u0026style=for-the-badge)](https://deno.land/x/imagescript)\n[![NPM](https://nodei.co/npm/imagescript.png)](https://www.npmjs.com/package/imagescript)\n\n---\n\n**ImageScript** is a zero-dependency alternative to common JavaScript bitmap image manipulation tools. It can achieve\nmuch more performant results by utilizing lower-level memory access, less memory copying and WebAssembly / native\nbinaries for decoding and encoding.\n\n---\n\n### Features\n\n- [Decoding images](https://imagescript.matmen.dev/Image.html#.decode)\n  - PNGs (grayscale, RGB, indexed colors) with and without alpha channels\n  - JPEGs (grayscale, RGB, CMYK)\n  - TIFFs\n- [Decoding GIFs](https://imagescript.matmen.dev/GIF.html#.decode)\n- [Rendering SVGs](https://imagescript.matmen.dev/Image.html#.renderSVG)\n- [Rendering vector fonts](https://imagescript.matmen.dev/Image.html#.renderText)\n- Image manipulation functions ([crop](https://imagescript.matmen.dev/Image.html#crop)\n  , [rotate](https://imagescript.matmen.dev/Image.html#rotate)\n  , [composite](https://imagescript.matmen.dev/Image.html#composite), ...)\n- Color manipulation functions ([invert](https://imagescript.matmen.dev/Image.html##invert)\n  , [hueShift](https://imagescript.matmen.dev/Image.html##hueshift), ...)\n- Color information functions ([averageColor](https://imagescript.matmen.dev/Image.html#averageColor)\n  , [dominantColor](https://imagescript.matmen.dev/Image.html#dominantColor), ...)\n- Encoding images as [PNGs](https://imagescript.matmen.dev/Image.html#encode)\n  , [JPEGs](https://imagescript.matmen.dev/Image.html#encodejpeg)\n  , [WEBPs](https://imagescript.matmen.dev/Image.html#encodeWEBP)\n  and [GIFs](https://imagescript.matmen.dev/GIF.html#encode)\n\n---\n\n### Example\n\nCheck out one of these examples:\n* **NodeJS**: [README image generation](https://github.com/matmen/ImageScript/blob/master/tests/readme.js)\n* **Deno**: [README image generation](https://github.com/matmen/ImageScript/blob/deno/tests/readme.js)\n* **Browser**: [Grayscale Conversion Example Page](https://github.com/matmen/ImageScript/blob/browser/example/index.html) (via CDN)\n\n[![Example](https://github.com/matmen/ImageScript/raw/master/tests/targets/readme.png)](https://github.com/matmen/ImageScript/blob/master/tests/readme.js)\n\n---\n\nIf you have any additional questions, feel free to join the [discord support server](https://discord.gg/8hPrwAH).\n","funding_links":[],"categories":["Packages","JavaScript","Repository","Modules","deno","nodejs","包"],"sub_categories":["Image","图像"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatmen%2FImageScript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatmen%2FImageScript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatmen%2FImageScript/lists"}