AnilHoney
AnilHoney

Reputation: 249

Why does im4java Java API require a native executable?

Is it possible to run an im4java application without installing ImageMagick-6.7.6-1-Q16-windows-dll.exe?

Upvotes: 1

Views: 876

Answers (1)

Jon Skeet
Jon Skeet

Reputation: 1502825

The home page explains it reasonably clearly:

im4java is a pure-java interface to the ImageMagick commandline

and

im4java [...] just generates the commandline for the ImageMagick commands and passes the generated line to the selected IM-command (using the java.lang.ProcessBuilder.start()-method).

How would you expect that to work without having the command line?

So to answer the question in the body of your post: no. As im4java is just a wrapper, you've got to have installed ImageMagick, as otherwise there's nothing for it to wrap!

Upvotes: 4

Related Questions