Write metadata into file

This commit is contained in:
heyarne 2022-03-20 23:33:45 +01:00
commit a98f3a0b63
3 changed files with 21 additions and 16 deletions

View file

@ -54,7 +54,7 @@ Pass "-" as the filename to read from stdin.`,
output = file
}
result, err := epd.ConvertImage(input, width, height)
result, err := epd.ConvertImage(&input, width, height)
if err != nil {
log.Fatalf("Could not convert image: %v", err)
}