Skip to content

Commit

Permalink
Use RGBA
Browse files Browse the repository at this point in the history
  • Loading branch information
Wikidepia committed Jul 7, 2024
1 parent d5341af commit 015447a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/grid.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func GenerateGrid(images []image.Image) (image.Image, error) {
canvasHeight += rowHeight
}

canvas := image.NewNRGBA(image.Rect(0, 0, canvasWidth, canvasHeight))
canvas := image.NewRGBA(image.Rect(0, 0, canvasWidth, canvasHeight))

oldRowHeight := 0
for i := 1; i < len(path); i++ {
Expand Down

0 comments on commit 015447a

Please sign in to comment.