Update eblurhash to a non-bugged version #34

Merged
floatingghost merged 3 commits from eblurhash into develop 2022-07-02 14:05:33 +00:00
Showing only changes of commit fa2fe39210 - Show all commits

View file

@ -16,10 +16,10 @@ test "adds the dimensions and blurhash for images" do
{:ok, :filtered, meta} = AnalyzeMetadata.filter(upload)
assert %{width: 1024, height: 768, blurhash: "V6Dv1P?^IS.6InIEIqV^xtWE$$M|D,RnM}%1RitPR%X3"} =
meta
assert %{width: 1024, height: 768} = meta
assert meta.blurhash
# Blurhashes should be a valid base83 string
assert meta.blurhash =~ ~r/^[A-Za-z0-9#$%*\+,-\.:;=\?@\[\]\^_{|}~]{6,}$/
end
test "adds the dimensions for videos" do