{"id":40008400,"url":"https://github.com/nuex/erl_gm","last_synced_at":"2026-01-19T02:30:54.490Z","repository":{"id":55968294,"uuid":"2492700","full_name":"nuex/erl_gm","owner":"nuex","description":"An Erlang GraphicsMagick wrapper","archived":false,"fork":false,"pushed_at":"2020-12-03T20:36:24.000Z","size":122,"stargazers_count":28,"open_issues_count":2,"forks_count":26,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-04-13T08:18:54.844Z","etag":null,"topics":["elixir","erlang","graphicsmagick"],"latest_commit_sha":null,"homepage":"","language":"Erlang","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/nuex.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":"2011-09-30T23:16:19.000Z","updated_at":"2023-01-02T10:54:15.000Z","dependencies_parsed_at":"2022-08-15T10:31:11.872Z","dependency_job_id":null,"html_url":"https://github.com/nuex/erl_gm","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/nuex/erl_gm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuex%2Ferl_gm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuex%2Ferl_gm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuex%2Ferl_gm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuex%2Ferl_gm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nuex","download_url":"https://codeload.github.com/nuex/erl_gm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuex%2Ferl_gm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28558221,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T00:46:33.223Z","status":"online","status_checked_at":"2026-01-19T02:00:08.049Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","erlang","graphicsmagick"],"created_at":"2026-01-19T02:30:54.435Z","updated_at":"2026-01-19T02:30:54.481Z","avatar_url":"https://github.com/nuex.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"# erl_gm\n\nAn Erlang GraphicsMagick wrapper\n\n## USAGE\n\n```\n% Crop image into 100x100 tiles\ngm:convert(\"/some/image.jpg\", \"tile\", [{crop, 100, 100}]).\n\n% Get multiple identify properties (returns a list of key value pairs\n% to be parsed by proplist:get_value\ngm:identify_explicit(\"/some/image.jpg\", [width, height, filename, type]).\n\n% Crazytown\ngm:convert(\"/some/image.jpg\", \"/something/crazy.jpg\", [\n  flip,\n  magnify,\n  {rotate, 45},\n  {blur, 7, 3},\n  {crop, 300, 300, 150, 130},\n  {edge, 3}\n]).\n\n% Resize\ngm:convert(\"/some/image.jpg\", \"/something/resized.jpg\", [{resize, 240, 240}]).\n```\n\n## ELIXIR INSTALLATION\n\nAdd erl_gm to your `mix.exs` dependencies:\n\n```elixir\ndef deps do\n  [{:gm, git: \"https://github.com/nuex/erl_gm\"}]\nend\n```\n\nList the `:gm` application as your application dependency (from Elixir version 1.4.0 may not be necessary)\n\n```elixir\ndef application do\n  [applications: [:gm]]\nend\n```\n\n## ELIXIR USAGE\n\n```elixir\niex\u003e :gm.convert('/some/image.jpg', '/some/cropped.jpg', [{:crop, 100, 100}])\n```\n\n## AVAILABLE GM FUNCTIONS\n\n```\ngm:composite\ngm:convert\ngm:identify\ngm:mogrify\ngm:montage\ngm:version\n```\n\n## AVAILABLE GM OPTIONS\n\n```\n-adjoin\n-background\n-blur\n-create_directories\n-crop\n-define\n-dissolve\n-draw\n-edge\n-extent\n-flatten\n-fill\n-flip\n-format\n-geometry\n-gravity\n-interlace\n-magnify\n+matte\n-matte\n-negate\n-opaque\n-output_directory\n-quality\n-resize\n-rotate\n-size\n-transparent\n-thumbnail\n-type\n-watermark\n```\n\n## AVAILABLE SHORTCUTS\n\n```\ngm:identify_explicit\n```\n\n## EXTENDING\n\nNew options can be added to `gm_options.erl` to broaden option support. Just open a pull request and I'll merge in additions.\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuex%2Ferl_gm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuex%2Ferl_gm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuex%2Ferl_gm/lists"}