imgex alternatives and similar packages
Based on the "Images" category.
Alternatively, view imgex alternatives based on common mentions on social networks and blogs.
-
ex_image_info
ExImageInfo is an Elixir library to parse images (binaries) and get the dimensions (size), detected mime-type and overall validity for a set of image formats. It is the fastest and supports multiple formats. -
png
A pure Erlang library for creating PNG images. It can currently create 8 and 16 bit RGB, RGB with alpha, indexed, grayscale and grayscale with alpha images. -
gi
Gi is a library for manipulating Graphics Interfacing. Use utility mogrify, identify, ... of GraphicsMagick to resize, draw on base images....
InfluxDB - Purpose built for real-time analytics at any scale.
Do you think we are missing an alternative of imgex or a related project?
Popular Comparisons
README
<!-- ix-docs-ignore -->
imgex
Unofficial client library for generating imgix URLs in Elixir
Installation
imgex is available in Hex, the package can be installed as:
Add imgex to your list of dependencies in
mix.exs
:def deps do [{:imgex, "~> 0.2.0"}] end
Ensure imgex is started before your application:
def application do [applications: [:imgex]] end
Documentation
The source is really small so reading through it should be straight-forward but the full package documentation is available at https://hexdocs.pm/imgex.
Configuration
To use the library you have to configure your imgix domain and secure token or
pass them as an options map %{domain: "domain", token: "token"}
as the
third parameter to Imgex.url/3
or Imgex.proxy_url/3
.
See config/test.exs
for an example of how to configure this.
Usage
To generate an imgix url based on a path (Web Folder and S3 sources) and optional parameters do:
url = Imgex.url "/images/cats.jpg", %{w: 700}
To generate an imgix url based on a public URL (Web Proxy sources) and optional parameters do:
url = Imgex.proxy_url "https://some-public-url.com/cats.jpg", %{w: 700}
Created by Ian Walter