Trying to distribute static binaries of *just* convert.exe

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
daveola

Trying to distribute static binaries of *just* convert.exe

Post by daveola »

I have a script that uses ImageMagick convert to alter images.

I'm porting it to Windows, and I want to distribute the tool as a complete (GUI) package (i.e., with convert.exe included).

I have tried copying just convert.exe to a fresh Windows system and it doesn't work. It doesn't even print out an error.

If I install ImageMagick on the fresh system, then my copied convert.exe works fine, so clearly it has some dependency.

I've copied convert.exe from the static install of ImageMagick (specifically ImageMagick-6.4.4-10-Q16-windows-static.exe).

What am I missing? What does a static convert.exe need to work on a system? I can't even get a response from ".\convert -version"

If I want to distribute convert.exe, what do I need to include?

And furthermore, from a legal perspective, do I just need the ImageMagick license to be viewable inside my GUI application, or do I need the user to agree to the license before using the app?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Trying to distribute static binaries of *just* convert.exe

Post by magick »

The ImageMagick Window binaries includes an installer that sets the proper Windows registry settings. If you do not want to use the installer, build ImageMagick from source. The default build does not require any Windows registry settings.

Regarding the license. What we like to see is that the GUI minimally mentions the web site, http://www.imagemagick.org and that the ImageMagick license file is included along side the ImageMagick libraries and configuration files.
daveola

Re: Trying to distribute static binaries of *just* convert.exe

Post by daveola »

magick wrote:If you do not want to use the installer, build ImageMagick from source.
Presumably someone has done this already, and I'm only using Windows for the sake of porting an application, so I have no compilers.

Anyone here know of where I can get these static binaries without the installer requirements?

And if not - are there any free compilers that I can build ImageMagick with? The docs claim that I need Visual Studio..
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Trying to distribute static binaries of *just* convert.exe

Post by magick »

You can build ImageMagick from source for free with the free version of Visual Studio (however, it does not optimize the code very well) or MinGW or Cygwin.
shorshe
Posts: 1
Joined: 2012-06-21T14:34:17-07:00
Authentication code: 13

Re: Trying to distribute static binaries of *just* convert.e

Post by shorshe »

Hi all!

Is this also true for the standard mac build? I'd like to package a script that only uses convert into a osx app.

Greets
Post Reply