How to fix gm (GraphicsMagick) is not recognized as an internal and external Command Error in CMD
31 views
Jun 7, 2025
Buy the full source code of application here:
View Video Transcript
0:01
uh hello guys welcome to this video so
0:03
in this video I will show you if you are
0:05
typing GM on the terminal and if you're
0:08
getting this error message graphics
0:10
magic is not recognized as an internal
0:13
or external command if you can't access
0:15
graphics magic library from your
0:18
terminal then there are two reasons if
0:21
you haven't installed graphics magic so
0:24
just type here graphics magic
0:27
download so this is an open-source
0:30
uh image processing library
0:34
uh just go to the website download
0:37
this i've already downloaded this
0:40
software on my machine but still if you
0:43
are getting this error
0:45
message then you just need to add the
0:48
location to your environment variable so
0:50
just go to C drive and just go to the
0:54
program files by default it will create
0:58
a folder in this so program files x86
1:02
this is the
1:04
folder and just search here graphics
1:06
magic
1:10
so until you find this folder just enter
1:12
into into this location and just right
1:16
click copy this entire
1:18
location and just open your environment
1:22
variable and just go to the system
1:25
variable system path variable right
1:29
here click on new and paste this
1:33
location so after pasting the location
1:35
just restart your terminal and just type
1:37
in GM once again
1:40
now you will see the command will
1:42
perfectly work here in the terminal you
1:44
can convert images from one format
1:47
compare it convert
1:51
identify so everything you can do this
1:53
from the terminal so in this easy way
1:56
you can fix the problem so also check
1:58
out my website freemediattools.com
2:01
uh which contains thousands of tools
2:04
regarding audio video and image
#Software