Packages

Compute square canvas size and letterbox padding so an image fits 1:1 without cropping.

Current section

Files

Jump to
Raw

mix.exs

defmodule MakeImageSquare.MixProject do
use Mix.Project
def project do
[
app: :make_image_square,
version: "0.1.0",
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
description:
"Compute square canvas size and letterbox padding so an image fits 1:1 without cropping.",
package: package(),
deps: deps()
]
end
def application do
[]
end
defp package do
[
licenses: ["MIT"],
links: %{"Homepage" => "https://squareimage.run"}
]
end
defp deps do
[]
end
end