Page 1 of 1

imconvert / convert (solved)

Posted: 2010-01-14T17:37:16-07:00
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

Re: imconvert / convert

Posted: 2010-01-14T17:54:00-07:00
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.

Re: imconvert / convert

Posted: 2010-01-14T20:04:11-07:00
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

Re: imconvert / convert

Posted: 2010-01-14T20:28:50-07:00
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.

Re: imconvert / convert

Posted: 2010-01-15T03:24:38-07:00
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