Skip to content

Commit

Permalink
feat: increase blur data resolution
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Gleich <[email protected]>
  • Loading branch information
gleich committed Jul 20, 2024
1 parent f89fe49 commit 045ce20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apis/strava/map.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 045ce20

Please sign in to comment.