Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
snibgo wrote: ↑2017-06-01T17:40:04-07:00
Your question is very vague. You don't seem to be running "convert" or "magick" or any other ImageMagick program.
luangs7 wrote: ↑2017-06-01T17:29:18-07:00When I follow this tutorial for Creating Tiles with this: [...] And after this, its creating empty folders. I cant find anything on Google and I need help, please
One very obvious problem is the variable that should hold the ImageMagick program name is holding an image file name.
is not calling the ImageMagick convert or magick as snibgo said above so your variable %imagemagick%, is referencing an image and not the convert or magick command. So you have variable to two different input images and no IM command when you do things like %imagemagick% %filename%. You need to define your %imagemagick% as the path to IM convert or magick depending upon whether you are on IM 6 or IM 7
is not calling the ImageMagick convert or magick as snibgo said above so your variable %imagemagick%, is referencing an image and not the convert or magick command. So you have variable to two different input images and no IM command when you do things like %imagemagick% %filename%. You need to define your %imagemagick% as the path to IM convert or magick depending upon whether you are on IM 6 or IM 7
So in case of the image that I want to slice, I dont define anyware?
You need to find where the actual binary of magick resides. It is not in your download folder. It is installed somewhere. I do not know where Windows installs it. But try
set imagemagick="magick.exe"
Does that work? If not you need to put the path to ImageMagick in your Windows Environment Path variable, if that is the correct place. Again I do not use Windows, so one of the Windows users will have to provide further instructions. But try my path above.
Did you install ImageMagick from binary or just download the source files?
fmw42 wrote: ↑2017-06-01T19:06:07-07:00
You need to find where the actual binary of magick resides. It is not in your download folder. It is installed somewhere. I do not know where Windows installs it. But try
set imagemagick="magick.exe"
Does that work? If not you need to put the path to ImageMagick in your Windows Environment Path variable, if that is the correct place. Again I do not use Windows, so one of the Windows users will have to provide further instructions. But try my path above.
Did you install ImageMagick from binary or just download the source files?
Yeah, I installed the binary for Windows, and the command "magick" works fine. But with set imagemagick="magick.exe" show me the same error above
The try replacing magick.exe with just magick in your set command. If that does not work, then it is more complicated then I know and you will need help from a Windows user.
Does
magick logo: logo.jpg
work if you type it in a CMD window from your home directory. You should then see logo.jpg in that directory.
Yeah, I installed the binary for Windows, and the command "magick" works fine. But with set imagemagick="magick.exe" show me the same error above
The try replacing magick.exe with just magick in your set command. If that does not work, then it is more complicated then I know and you will need help from a Windows user.
Does
magick logo: logo.jpg
work if you type it in a CMD window from your home directory. You should then see logo.jpg in that directory.
yes, both magick.exe and magick are working fine
I have a Mac on virtual machine, the procedure is the same as windows for criating tiles?
Unix scripting is different from Windows scripting, but the basic ImageMagick commands are mostly the same. There are a few difference. See http://www.imagemagick.org/Usage/windows/.
But these should be the same
Unix:
magick logo: logo.jpg
Windows:
magick.exe logo: logo.jpg
The main difference are Windows needs double quotes and no escapes on parentheses. Most of the rest of the differences have to do with scripting.
I would try to make your commands work first in the CMD window with no variables. Then try adding variables slowly and keep testing to make sure it keeps working. You probably have some error in your scripting of variables. The definition of variables and the calling of the variables are quite different on Unix than Windows. I assume you are scripting in Windows because of the % symbols. But I really do not know how to set or use variables on Windows. Some Windows IM user will have to give you more help than I can do.