minor refactor

This commit is contained in:
2023-09-01 15:13:54 -04:00
parent faa413c9b1
commit 1662ff226b
5 changed files with 31 additions and 17 deletions

View File

@@ -48,7 +48,7 @@ type Request struct {
Photos []Photo `json:"photos"`
}
func Make(req Request, source fs.FS, output io.Writer) error {
func Make(req *Request, source fs.FS, output io.Writer) error {
rec := image.Rect(0, 0, int(req.Aspect.Width), int(req.Aspect.Height))
canvas := image.NewRGBA64(rec)
white := color.RGBA{255, 255, 255, 255}