{"id":32173288,"url":"https://github.com/dev800/melib","last_synced_at":"2026-02-21T03:31:23.434Z","repository":{"id":57522814,"uuid":"170630828","full_name":"dev800/melib","owner":"dev800","description":null,"archived":false,"fork":false,"pushed_at":"2019-02-19T02:50:21.000Z","size":31428,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-28T03:53:27.854Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/dev800.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}},"created_at":"2019-02-14T05:09:21.000Z","updated_at":"2019-02-19T02:50:23.000Z","dependencies_parsed_at":"2022-09-26T18:01:50.021Z","dependency_job_id":null,"html_url":"https://github.com/dev800/melib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dev800/melib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev800%2Fmelib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev800%2Fmelib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev800%2Fmelib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev800%2Fmelib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dev800","download_url":"https://codeload.github.com/dev800/melib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev800%2Fmelib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29672704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T03:11:15.450Z","status":"ssl_error","status_checked_at":"2026-02-21T03:10:34.920Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-10-21T18:51:55.311Z","updated_at":"2026-02-21T03:31:23.417Z","avatar_url":"https://github.com/dev800.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Melib\n\nMedia Lib: image, vedio and so on\n\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed\nby adding `melib` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:melib, \"~\u003e 0.1.1\"}\n  ]\nend\n\n## config.exs eg.\n\nconfig :melib, :magick_path, \"/usr/local/ImageMagick7/bin\"\n```\n\n## Install ImageMagick7@Mac\n\n```\nbrew install fftw fontconfig ghostscript libheif liblqr librsvg libwmf little-cms openexr pango perl webp\nbrew install imagemagick@7 --with-fftw --with-fontconfig --with-ghostscript --with-libheif --with-liblqr --with-librsvg --with-libwmf --with-little-cms --with-openexr --with-pango --with-perl\nbrew unlink imagemagick@6\nbrew link imagemagick@7\nbrew info imagemagick@7\n```\n\n## Install ImageMagick-7@centos\n\n```\n# use linuxbrew\nsh -c \"$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)\"\n# add -\u003e export PATH=\"$HOME/.linuxbrew/bin:$PATH\" -\u003e to ~/.zshrc and ~/.bashrc\nbrew install fftw fontconfig ghostscript libheif liblqr librsvg libwmf little-cms openexr pango perl webp\nbrew install imagemagick@7 --with-fftw --with-fontconfig --with-ghostscript --with-libheif --with-liblqr --with-librsvg --with-libwmf --with-little-cms --with-openexr --with-pango --with-perl\n```\n\n```\ncd /usr/local/src \u0026\u0026 \\\ngit clone https://github.com/strukturag/libde265 \u0026\u0026 \\\ncd libde265 \u0026\u0026 \\\n./autogen.sh \u0026\u0026 \\\n./configure \u0026\u0026 \\\nmake \u0026\u0026 \\\nmake install\n\ncd /usr/local/src \u0026\u0026 \\\ngit clone https://github.com/strukturag/libheif \u0026\u0026 \\\ncd libheif \u0026\u0026 \\\n./autogen.sh \u0026\u0026 \\\n./configure \u0026\u0026 \\\nmake \u0026\u0026 \\\nmake install\n\ncd /usr/local/src \u0026\u0026 \\\nrm -rf ImageMagick7 \u0026\u0026 \\\nwget https://github.com/ImageMagick/ImageMagick/archive/7.0.7-35.tar.gz -O ImageMagick-7.0.7-35.tar.gz \u0026\u0026 \\\ntar xvzf ImageMagick-7.0.7-35.tar.gz \u0026\u0026 \\\nmv ImageMagick-7.0.7-35 ImageMagick7 \u0026\u0026 \\\ncd ImageMagick7 \u0026\u0026 \\\n./configure --prefix=/usr/local/ImageMagick7 --with-openjp2=yes --with-gvc=yes --with-fftw=yes --with-heic=yes --with-rsvg=yes --with-wmf=yes --with-xml=yes --with-openexr=yes --with-webp=yes \u0026\u0026 \\\nmake \u0026\u0026 \\\nmake install \u0026\u0026 \\\ncd .. \u0026\u0026 \\\nrm -rf ImageMagick-7.0.7-35.tar.gz\n```\n\n## Install ImageMagick-6@centos\n\n```\ncd /usr/local/src \u0026\u0026 \\\nrm -rf ImageMagick6 \u0026\u0026 \\\nwget https://github.com/ImageMagick/ImageMagick6/archive/6.9.9-47.tar.gz -O ImageMagick-6.9.9-47.tar.gz \u0026\u0026 \\\ntar xvzf ImageMagick-6.9.9-47.tar.gz \u0026\u0026 \\\nmv ImageMagick6-6.9.9-47 ImageMagick6 \u0026\u0026 \\\ncd ImageMagick6 \u0026\u0026 \\\n./configure --prefix=/usr/local/ImageMagick6 --with-openjp2=yes --with-gvc=yes --with-fftw=yes --with-heic=yes --with-rsvg=yes --with-wmf=yes --with-xml=yes --with-openexr=yes --with-webp=yes \u0026\u0026 \\\nmake \u0026\u0026 \\\nmake install \u0026\u0026 \\\ncd .. \u0026\u0026 \\\nrm -rf ImageMagick-6.9.9-47.tar.gz\n```\n\n## Usage\n\n### create gif from static images\n\n```elixir\nimages = [\n \"/Users/happy/tmp/a/1.jpg\",\n \"/Users/happy/tmp/a/2.jpg\",\n \"/Users/happy/tmp/a/3.jpg\",\n \"/Users/happy/tmp/a/4.jpg\",\n \"/Users/happy/tmp/a/5.jpg\",\n \"/Users/happy/tmp/a/6.jpg\"\n]\nMelib.Mogrify.create_gif_from images, [\n  path: \"/Users/happy/tmp/b/1.gif\",   # dist path\n  speed: 2\n]\n```\n\nDocumentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)\nand published on [HexDocs](https://hexdocs.pm). Once published, the docs can\nbe found at [https://hexdocs.pm/melib](https://hexdocs.pm/melib).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev800%2Fmelib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev800%2Fmelib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev800%2Fmelib/lists"}