mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-01-03 13:58:41 +00:00
Linting
This commit is contained in:
parent
da26964d2b
commit
ccc2adee41
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ defmodule Pleroma.Upload.Filter.AnalyzeMetadata do
|
|||
end
|
||||
end
|
||||
|
||||
defp vips_blurhash(image = %Vix.Vips.Image{}) do
|
||||
defp vips_blurhash(%Vix.Vips.Image{} = image) do
|
||||
with {:ok, resized_image} <- Operation.thumbnail_image(image, 100),
|
||||
{height, width} <- {Image.height(resized_image), Image.width(resized_image)},
|
||||
max <- max(height, width),
|
||||
|
|
Loading…
Reference in a new issue