From 045ce20ec82f0bc7232e4df5df4e488523dd6f39 Mon Sep 17 00:00:00 2001 From: Matt Gleich Date: Fri, 19 Jul 2024 22:44:25 -0400 Subject: [PATCH] feat: increase blur data resolution Signed-off-by: Matt Gleich --- pkg/apis/strava/map.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/apis/strava/map.go b/pkg/apis/strava/map.go index 5baeaa9..84023b3 100644 --- a/pkg/apis/strava/map.go +++ b/pkg/apis/strava/map.go @@ -61,7 +61,7 @@ func MapBlurData(data []byte) *string { return nil } - scaleDownFactor := 200 + scaleDownFactor := 20 blurImage, err := blurhash.Decode(blurData, width/scaleDownFactor, height/scaleDownFactor, 1) if err != nil { lumber.Error(err, "decoding blurhash data into img failed")