Convert command not working in windows

北城以北 提交于 2019-12-13 06:17:29

问题


Installed ImageMagick-7.0.4-7-Q16-x64-dll.exe for resolving the issue of Tesseract facing problems with smaller font explained in this Stackoverflow question Is there any way to improve tesseract OCR with small fonts?

I ran the following convert command. But it still says invalid parameter.

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

and when I ran this

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

so just one convert.exe, I guess which belongs to windows convert.

I am missing something or something wrong with Tesseract or ImageMagick? can anyone help ?


回答1:


convert is now replaced by magick to avoid clashing with Windows CONVERT.EXE.

identify becomes magick identify.

mogrify becomes magick mogrify. Likewise, animate, compare, compose and stream.

Or alternatively, to keep using the old command names, you must tick the Legacy box when installing ImageMagick.



来源:https://stackoverflow.com/questions/42099303/convert-command-not-working-in-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!