naps62
I just released the first working version of imageflow_ex, a package that provides bindings and a custom API to imageflow, which is a Rust-based image processing tool
Imageflow itself has incredible benchmarks when comparing to vips & imagemagick
I also took some time to implement a proper Elixir-style API, that makes image processing look very similar to Elixir Streams. One example:
alias Imageflow.Graph
Graph.new()
|> Graph.decode_file(@input_path)
|> Graph.branch(fn graph ->
# 2160px wide image for retina displays graph
|> Graph.constrain(2160, nil)
|> Graph.encode_to_file("desktop@2x.png")
end)
|> Graph.branch(fn graph -> # 1080px wide image for desktop
graph
|> Graph.constrain(1080, nil)
|> Graph.encode_to_file("desktop.png")
end)
|> Graph.branch(fn graph -> # 600px wide image for mobile
graph
|> Graph.constrain(600, nil)
|> Graph.encode_to_file("mobile.png")
end)
|> Graph.run()
Trending in Announcing
Flop is an Elixir library that applies filtering, ordering and pagination parameters to your Ecto queries.
offset-based pagination with...
New
I needed to reuse React components from my Chrome extension in my Phoenix/LiveView backend. I noticed that for Svelte/Vue, there are live...
New
I released Doggo, a collection of unstyled Phoenix components.
https://github.com/woylie/doggo
Features
Unstyled Phoenix components....
New
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Hello
Published a new library - ProcessHub!
ProcessHub is a library designed to manage process distribution within the Elixir cluster. ...
New
I’ve started working on a new library to run SQL queries and do basic business intelligence.
Think “Blazer for Elixir.”
Currently it fe...
New
Other Trending Topics
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself.
My main conc...
New
This showed up on my feed.. anyone heard of it? Just hype?
Ox Alpha is a reasoning model designed for coding, sustained ag...
New
Hey folks,
I just published a post about Hologram’s funding and where the project goes next - the short version:
Curiosum as Main Spons...
New
:microphone: ElixirConf 2026 - Call for Talks is open!
We’re heading to Chicago :united_states:
:round_pushpin: In person + virtual
:d...
New
What IDE or editor are you using for Elixir development?
Personally, I use Zed, and I really like it, but sometimes I wish there were a ...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #elixirconf-eu
- #metaprogramming
- #hex











Showing Posts 1 to 5- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
hauleth
Just remember that it is AGPL licensed, so most project will not be able to use that library (at least without paying for ImageFlow).
naps62
Yes, I’m aware of that. The use case that led me to find imageflow is a nice fit.
Your comment also made me realise that I forgot to choose a proper license for this, and had published it with the same ISC license that I had when I copy/pasted the mix boilerplate from another project. So thanks for that
I now changed this to AGPL as well, to prevent any confusions about licensing
hauleth
Well, now it is impossible to use by the paying users of ImageFlow
I think that dual licensing ISC/AGPL would do. Open source clients can use AGPL version and paying users can use ISC one (open source clients cannot use ISC as it would make it impossible to release as you cannot include AGPL code into code on other licenses).
naps62
@hauleth sorry, I completely missed your comment until now.
I don’t have much experience around software licenses (and I honestly gave up on trying to understand them a long time ago)
do you have any specific suggestion on how it could work for this repo so that it serves both cases? Is dual licensing an actual thing?
hauleth
Yes, there is a lot of projects that use that approach:
The way “how it would work” is simply writing:
And now you are covered. Anyone who would purchase ImageFlow will be able to use your project in non-AGPL project (as they are able to pick ISC license) and you are complying with AGPLv3 of the ImageFlow.
I am pretty sure that if you will write to the ImageFlow team then they will be keen to help you with licensing questions, and maybe they will also promote it on the official website.