{"id":13288159,"url":"https://github.com/ttulka/as-inliner-image","last_synced_at":"2025-10-20T06:24:26.115Z","repository":{"id":95749540,"uuid":"397344300","full_name":"ttulka/as-inliner-image","owner":"ttulka","description":"Inlines images into your AssemblyScript","archived":false,"fork":false,"pushed_at":"2021-08-18T06:34:24.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-25T12:07:36.184Z","etag":null,"topics":["assemblyscript","image","png","rgba","transform"],"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/ttulka.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":"2021-08-17T17:46:56.000Z","updated_at":"2021-08-18T06:34:27.000Z","dependencies_parsed_at":"2023-05-23T09:00:47.136Z","dependency_job_id":null,"html_url":"https://github.com/ttulka/as-inliner-image","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ttulka/as-inliner-image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttulka%2Fas-inliner-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttulka%2Fas-inliner-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttulka%2Fas-inliner-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttulka%2Fas-inliner-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ttulka","download_url":"https://codeload.github.com/ttulka/as-inliner-image/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttulka%2Fas-inliner-image/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263314170,"owners_count":23447294,"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":["assemblyscript","image","png","rgba","transform"],"created_at":"2024-07-29T16:55:00.166Z","updated_at":"2025-10-20T06:24:26.058Z","avatar_url":"https://github.com/ttulka.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# as-inliner-image\n\n[AssemblyScript](https://github.com/AssemblyScript/assemblyscript) transform to inline images as arrays of RGBA values 🚀\n\nBased on https://github.com/surma/as-inliner\n\n## Install\n\n```sh\nnpm i as-inliner-image -D\n```\n\n## Use\n\n```typescript\nconst image: StaticArray\u003cu8\u003e = Inliner.inlineImageAsRgbaStaticArray(\n    \"../assets/image.png\"\n);\n```\n\nInlining works through [ASC transforms](https://www.assemblyscript.org/transforms.html#transforms):\n\n```sh\nnpx asc assembly/index.ts --transform as-inliner-image\n```\n\nor place it in your `asconfig.json`:\n\n```json\n{\n  ...\n  \"options\": {\n    \"transform\": [\"as-inliner-image\"]\n  }\n}\n```\n\nOr extend the `asconfig.json` here:\n\n```json\n{\n  \"extend\": \"as-inliner-image/asconfig.json\"\n}\n```\n\n## Limitations\n\nCurrently supported image formats:\n\n- PNG\n\n## Licence\n\n[MIT](https://github.com/ttulka/as-inliner-image/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttulka%2Fas-inliner-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fttulka%2Fas-inliner-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttulka%2Fas-inliner-image/lists"}