{"id":27555920,"url":"https://github.com/giraphme/ex_magick","last_synced_at":"2025-10-23T22:33:36.259Z","repository":{"id":62429177,"uuid":"120418619","full_name":"giraphme/ex_magick","owner":"giraphme","description":"Simply ImageMagick wrapper for Elixir.","archived":false,"fork":false,"pushed_at":"2018-02-08T13:12:35.000Z","size":14,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-13T01:48:48.823Z","etag":null,"topics":["elixir","imagemagick"],"latest_commit_sha":null,"homepage":"https://hexdocs.pm/ex_magick","language":"Elixir","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/giraphme.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}},"created_at":"2018-02-06T07:36:05.000Z","updated_at":"2018-02-06T08:09:25.000Z","dependencies_parsed_at":"2022-11-01T20:04:44.275Z","dependency_job_id":null,"html_url":"https://github.com/giraphme/ex_magick","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/giraphme%2Fex_magick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giraphme%2Fex_magick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giraphme%2Fex_magick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giraphme%2Fex_magick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giraphme","download_url":"https://codeload.github.com/giraphme/ex_magick/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249228293,"owners_count":21233852,"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":["elixir","imagemagick"],"created_at":"2025-04-19T17:55:49.641Z","updated_at":"2025-10-23T22:33:31.199Z","avatar_url":"https://github.com/giraphme.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ExMagick\n\nExMagick is a package to make it easy to build ImageMagick commands with Elixir.\n\nPerhaps it supports all of the options supported by ImageMagick.\nHowever, we don't test all options, so please create an issue if you have options that can not be used.\n\n## Installation\n\n```elixir\ndef deps do\n  [\n    {:ex_magick, \"~\u003e 0.2.0\"}\n  ]\nend\n```\n\n## Usage\n\n```elixir\nExMagick.init()\n|\u003e ExMagick.put_image(\"path/to/input.jpg\")\n|\u003e ExMagick.put_option(\"size\", \"150x150\")\n|\u003e ExMagick.output(\"path/to/output.png\")\n```\n\n### Decode base64 encoded image\n\n```elixir\nExMagick.init()\n|\u003e ExMagick.put_base64_image(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAAH6Nf8rAAAABGdBTUEAALGPC/xhBQAAAD9JREFUGBlj/A8EDEDABCLAACQC5jHC5EDCcA5cIZwBl4Loh5BwWWRB4lVi1U68IFaLkF0CY2M1EiaJTA+gQgApmhwFHvIPpAAAAABJRU5ErkJggg==\")\n|\u003e ExMagick.output(\"path/to/output.png\")\n```\n\n### Generate filled image\n\n```elixir\nExMagick.init()\n|\u003e ExMagick.put_option(\"size\", \"150x150\")\n|\u003e ExMagick.put_color(\"#ffaa00\")\n|\u003e ExMagick.output(\"path/to/output.png\")\n```\n\n### Generate gradient image\n\n```elixir\nExMagick.init()\n|\u003e ExMagick.put_option(\"size\", \"150x150\")\n|\u003e ExMagick.put_color(\"#000000-#ffffff\", fill: :gradient)\n|\u003e ExMagick.output(\"path/to/output.png\")\n```\n\n### Use other options\n\n```elixir\nExMagick.init()\n|\u003e ExMagick.put_image(\"path/to/input.jpg\")\n|\u003e ExMagick.put_option(\"size\", \"150x150\")\n|\u003e ExMagick.put_option(\"rotate\", \"-90\")\n|\u003e ExMagick.output(\"path/to/output.png\")\n```\n\n## License\nThis project is licensed under the terms of the MIT license, see LICENSE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiraphme%2Fex_magick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiraphme%2Fex_magick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiraphme%2Fex_magick/lists"}