aboutsummaryrefslogtreecommitdiff
path: root/themagicpipe/imageconverter.go
diff options
context:
space:
mode:
Diffstat (limited to 'themagicpipe/imageconverter.go')
-rw-r--r--themagicpipe/imageconverter.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/themagicpipe/imageconverter.go b/themagicpipe/imageconverter.go
index e85a4e0..38f7eb1 100644
--- a/themagicpipe/imageconverter.go
+++ b/themagicpipe/imageconverter.go
@@ -20,7 +20,7 @@ func DataURLConverter(dataURL string) (string, error) {
return "", err
}
- converter := exec.Command("convert", "-", "-background", "white", "-flatten", "-resize", "400x200!", "-colors", "8", "PNG8:-")
+ converter := exec.Command("convert", "-", "-background", "white", "-flatten", "-resize", "400x200!", "-remap", "palette.png", "PNG8:-")
converter.Stdin = bytes.NewBuffer(imageRaw)
var output []byte