{"id":15724492,"url":"https://github.com/jshrake/image-to-regl-json","last_synced_at":"2025-03-31T01:14:44.584Z","repository":{"id":150740880,"uuid":"172346131","full_name":"jshrake/image-to-regl-json","owner":"jshrake","description":"A utility to transform an image file to JSON for use with [regl](https://github.com/regl-project/regl).","archived":false,"fork":false,"pushed_at":"2019-02-24T14:15:15.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-06T06:26:27.415Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/jshrake.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}},"created_at":"2019-02-24T14:14:39.000Z","updated_at":"2019-06-08T14:35:39.000Z","dependencies_parsed_at":"2023-04-25T05:14:09.442Z","dependency_job_id":null,"html_url":"https://github.com/jshrake/image-to-regl-json","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/jshrake%2Fimage-to-regl-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshrake%2Fimage-to-regl-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshrake%2Fimage-to-regl-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshrake%2Fimage-to-regl-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jshrake","download_url":"https://codeload.github.com/jshrake/image-to-regl-json/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246399798,"owners_count":20770908,"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-10-03T22:16:50.237Z","updated_at":"2025-03-31T01:14:44.564Z","avatar_url":"https://github.com/jshrake.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# image-to-regl-json\n\nA utility to transform an image file into it's raw representation and output it as JSON for use with [regl](https://github.com/regl-project/regl). I built this to work around frustrations related to [https://github.com/regl-project/regl/issues/435](https://github.com/regl-project/regl/issues/435), and because it simply matches my workflow better. One downside is that the resulting JSON file can be fairly large, so consider compression.\n\nSee the flat array example here for the JSON schema [https://github.com/regl-project/regl/blob/7378e54ee54554a98f30e7c92d2946b7c8e192b1/API.md#texture-constructor](https://github.com/regl-project/regl/blob/7378e54ee54554a98f30e7c92d2946b7c8e192b1/API.md#texture-constructor).\n\n# Run\n\n```console\n$ cargo run -- path/to/image.png \u003e image.json\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjshrake%2Fimage-to-regl-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjshrake%2Fimage-to-regl-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjshrake%2Fimage-to-regl-json/lists"}