diff --git a/Iceshrimp.Backend/Core/Helpers/BlurhashHelper.cs b/Iceshrimp.Backend/Core/Helpers/BlurhashHelper.cs index 49e67734..f5296419 100644 --- a/Iceshrimp.Backend/Core/Helpers/BlurhashHelper.cs +++ b/Iceshrimp.Backend/Core/Helpers/BlurhashHelper.cs @@ -16,7 +16,7 @@ public static class BlurhashHelper /// The number of components used on the X-Axis for the DCT /// The number of components used on the Y-Axis for the DCT /// The resulting Blurhash string - public static string Encode(Span2D pixels, int componentsX, int componentsY) + public static string Encode(ReadOnlySpan2D pixels, int componentsX, int componentsY) { if (componentsX < 1) throw new ArgumentException("componentsX needs to be at least 1"); if (componentsX > 9) throw new ArgumentException("componentsX needs to be at most 9");