【问题标题】:Convert command not working in windows转换命令在 Windows 中不起作用
【发布时间】:2017-02-07 20:25:30
【问题描述】:

已安装 ImageMagick-7.0.4-7-Q16-x64-dll.exe 以解决在 Stackoverflow 问题 Is there any way to improve tesseract OCR with small fonts? 中解释的 Tesseract 面临的小字体问题

我运行了以下转换命令。但它仍然说参数无效。

C:\Users\rt\Desktop\Sample_Files>convert -resize 400% image5.jpg image5out.jpg
Invalid Parameter - 400%

当我运行它时

C:\Users\rt\Desktop\Sample_Files>where convert.exe
C:\Windows\System32\convert.exe

所以只有一个convert.exe,我猜哪个属于windows convert。

我错过了 Tesseract 或 ImageMagick 的某些内容或错误?谁能帮忙?

【问题讨论】:

    标签: image resize imagemagick tesseract imagemagick-convert


    【解决方案1】:

    convert 现在被 magick 替换,以避免与 Windows CONVERT.EXE 发生冲突。

    identify 变为 magick identify

    mogrify 变为 magick mogrify。同样,animatecomparecomposestream

    或者,要继续使用旧的命令名称,您必须在安装 ImageMagick 时勾选 Legacy 框。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-08-08
      • 2017-09-01
      • 2014-08-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-12-08
      • 2015-01-29
      相关资源
      最近更新 更多