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?".
fmw42 wrote: ↑2018-05-03T15:18:52-07:00
Those links probably still work for the most part, if you just replace magick for convert. Or make a symbolic link between the two so that convert is really just magick.
Hello fmw42. I think I just don't know how to >>begin. And yes, literally.
Start by reading the basic link to get the gist of the syntax. Also see syntax and operators and settings at https://www.imagemagick.org/Usage/basics/#syntax. Then try some examples from the other links that snibgo has suggested. Then ask questions about simple commands if you do not understand something.
snibgo wrote: ↑2018-05-03T14:29:51-07:00Oh, I was thinking you had hundred or thousands. I'd re-type them. Much easier. 30 minutes per poster, 3 hours per year.
I hate to be such a pain but in the interest of authenticity I'd pefer sitting here hacking away! As I replied to fmw42 you have to Spell. Each. Step. Out. Literally. That's why I included all the path data. A good place to begin would be telling me what directory I'm starting in. Amazing, isn't it. I build my own computers, but DOS? Fleeing from the room and disappearing around the grade leaving a smoke trail.
You were asking where to start? I thought that mean where to start with the links snibgo suggested. What do you mean by "where to start"? Where what?
Are you asking what directory of the code or some other source of information?
I am simply suggesting you read the links that snibgo suggested, not the code itself. I listed the order that I think you should start with those links.
In my prior post I provided all of the path information & environment variables; what I'm asking for at this juncture is only the outline of how an IM script executes using those variables. We initiate the script from somewhere on my computer, correct? Will it be Z:\Windows\System 32? Will it be the IM program folder Z:\[PROGRAMS] XP\IMAGEMAGICK? Is it path-specific -or- is it easier to place everything into the IMAGEMAGICK folder and save some typing? I've anticipated that for you and done just that (see my file paths).
What about my guess as to how a basic IM script executes is wrong:
Create a text file with the IM syntax and name it ______.bat
Place the ______.bat file in Folder A
Place the graphic file you want to convert in Folder A
You can install IM to any directory you want. Most users put that directory on their system path, so they can run IM with "magick" or "convert" without needing to give the path.
You can put scripts in any directory you want. You can put that directory on your system path if you want. Otherwise, if your current directory is somewhere else, you will need to prefix the script name with its directory.
You can put images in any directory you want. If they are not in your current directory, you will need to prefix their names with their directories.
As general advice: install IM to its own directory, and don't put anything else there, because that would make upgrades difficult.