{"id":15486028,"url":"https://github.com/lumeland/imagemagick-deno","last_synced_at":"2025-04-22T15:40:41.672Z","repository":{"id":42646697,"uuid":"405144373","full_name":"lumeland/imagemagick-deno","owner":"lumeland","description":"Deno port of the WASM library for ImageMagick","archived":false,"fork":false,"pushed_at":"2024-10-11T22:11:46.000Z","size":61411,"stargazers_count":45,"open_issues_count":4,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T19:23:31.991Z","etag":null,"topics":["deno","imagemagick"],"latest_commit_sha":null,"homepage":"https://deno.land/x/imagemagick_deno","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lumeland.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}},"created_at":"2021-09-10T16:26:16.000Z","updated_at":"2025-02-04T00:02:07.000Z","dependencies_parsed_at":"2022-09-14T20:52:32.097Z","dependency_job_id":"8b3582e0-d8f8-4e7a-8e6a-70589f88948a","html_url":"https://github.com/lumeland/imagemagick-deno","commit_stats":{"total_commits":24,"total_committers":2,"mean_commits":12.0,"dds":0.04166666666666663,"last_synced_commit":"81859c71aa19eb0e7278928b459cab5a1395f312"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lumeland%2Fimagemagick-deno","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lumeland%2Fimagemagick-deno/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lumeland%2Fimagemagick-deno/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lumeland%2Fimagemagick-deno/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lumeland","download_url":"https://codeload.github.com/lumeland/imagemagick-deno/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249003949,"owners_count":21196793,"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","imagemagick"],"created_at":"2024-10-02T06:05:46.550Z","updated_at":"2025-04-16T20:32:12.162Z","avatar_url":"https://github.com/lumeland.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ImageMagick for Deno\n\nScripts to transform the source code of\n[magick-wasm](https://github.com/dlemstra/magick-wasm) for Deno compatibility.\n\n```sh\nsh run.sh\n```\n\nTo import ImageMagick into your Deno project:\n\n```ts\nimport {\n  ImageMagick,\n  IMagickImage,\n  initialize,\n  MagickFormat,\n} from \"https://deno.land/x/imagemagick_deno/mod.ts\";\n\nawait initialize(); // make sure to initialize first!\n\nconst data: Uint8Array = await Deno.readFile(\"image.jpg\");\n\nawait ImageMagick.read(data, async (img: IMagickImage) =\u003e {\n  img.resize(200, 100);\n  img.blur(20, 6);\n\n  await img.write(\n    MagickFormat.Jpeg,\n    (data: Uint8Array) =\u003e Deno.writeFile(\"image-blur.jpg\", data),\n  );\n});\n```\n\n## Build\n\n- Transform the code: `sh run.sh`.\n- Test it: `deno run -A --no-check test/test.ts`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flumeland%2Fimagemagick-deno","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flumeland%2Fimagemagick-deno","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flumeland%2Fimagemagick-deno/lists"}