imconvert / convert (solved)

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?".
Post Reply
Albireo
Posts: 68
Joined: 2010-01-12T03:32:23-07:00
Authentication code: 8675309

imconvert / convert (solved)

Post by Albireo »

Hello!

I read the section: "Usage under Windows"/"Converting Scripts: UNIX Shell to Window DOS".
http://www.imagemagick.org/Usage/windows/#convertion
There is a command "imconvert ...." - is that the same as "convert....."?

//Jan
Last edited by Albireo on 2010-02-08T15:28:19-07:00, edited 1 time in total.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: imconvert / convert

Post by fmw42 »

Windows has its own convert function. So to avoid confusion, typically one renames the IM convert function and often imconvert is the name chosen.
Albireo
Posts: 68
Joined: 2010-01-12T03:32:23-07:00
Authentication code: 8675309

Re: imconvert / convert

Post by Albireo »

fmw42 wrote:Windows has its own convert function.....
Do I understand that right?
The "windows convert" don't do the same thing as "linux/Unix convert",
But the name of both is convert.exe

(I can't find/run imconvert.exe :? )

//Jan
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: imconvert / convert

Post by fmw42 »

No, you misunderstand. There is a Windows internal function, convert.exe, that has nothing to do with IM. You need to change the name of the IM convert to something else such as imconvert.exe so that when you run it, it is not confused for the Window internal function convert.
Albireo
Posts: 68
Joined: 2010-01-12T03:32:23-07:00
Authentication code: 8675309

Re: imconvert / convert

Post by Albireo »

Thank you!

I searched on the hard drive after "convert.exe" and found 4 pcs. :)
- One belongs to ImageMagick
- The other belongs to RealPlayer
- The last two are found in "Windows \ System32" and "Windows \ system32 \ dllcache" and belongs probably to Windows (the same convert.exe).
(Converts FAT and FAT32 volumes to NTFS)
http://www.microsoft.com/resources/docu ... x?mfr=true

Now!
tested - wich program would respond if I wrote "convert /?" in the "DOS window",
and ImageMagick's convert.exe responded.
So this should not pose any problems for me,
and probably I don't need to rename the ImageMagick's convert.exe to imconvert.exe

//Jan
Post Reply