我将文字放在图像上并有一些噪音。我该怎么办呢? 图像magick选项:
[
currentImage,
"-font", "Micra-Bold",
"-pointsize", "40",
"-strokewidth", "1",
"-stroke", "black",
"-fill", "white",
"-gravity", "North",
"-annotate", "+0+10", req.body.memData.actNumber,
"-gravity", "South",
"-pointsize", "26",
"-annotate", "+0+10", req.body.memData.actText,
""+memsPath+tempName+".jpg"
];
和我的图片
答案 0 :(得分:1)
噪音可能是JPEG伪影。尝试使用更高的质量(根据&#34,您的图像质量为70;识别-verbose")。所以,试试
"-quality", "92",
例如。