Skip to content

Commit

Permalink
Wordsmithing
Browse files Browse the repository at this point in the history
  • Loading branch information
naps62 committed Dec 15, 2020
1 parent a559af7 commit cbd2202
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/imageflow/graph.ex
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ defmodule Imageflow.Graph do
|> Graph.decode_file(@input_path)
|> Graph.branch(fn graph ->
# 2160px wide image for retina displays graph
graph
|> Graph.constrain(2160, nil)
|> Graph.encode_to_file("desktop@2x.png")
end)
Expand Down

0 comments on commit cbd2202

Please sign in to comment.