page: force images to RGB using -3 flag (fixes grey-scale images displaying)

This commit is contained in:
ftrvxmtrx 2013-01-21 00:06:36 +01:00
parent de5fdbc010
commit 7addee38a9

View file

@ -294,7 +294,7 @@ popenimg(Page *p)
if(strcmp(p->ext, "ico") == 0)
snprint(nam, sizeof(nam), "%s -c", p->ext);
else
snprint(nam, sizeof(nam), "%s -t9", p->ext);
snprint(nam, sizeof(nam), "%s -t39", p->ext);
pipeline(fd, "%s", nam);
}