3

Is there any ImageMagick Java API ?

-Ken

Paul Podgorsek
  • 2,416
  • 3
  • 19
  • 22
ken
  • 3,745
  • 6
  • 34
  • 49

2 Answers2

5

Yes. JMagick. It uses JNI.

By saying that it uses JNI, I am saying that it's not a pure 100% Java API. you still need ImageMagick's native (platform dependent) libraries.

There is also the possibility of using ImageMagick's command line utilities to interface it with a Java application. It's my preferred choice when using ImageMagick from a Java Web Application (you don't need any special Java API for that).

Community
  • 1
  • 1
Pablo Santa Cruz
  • 176,835
  • 32
  • 241
  • 292
4

There's also im4java which uses the command-line approach. I'm using it in a project both on OSX and Linux (just for rescaling) - works like a charm.

Notalifeform
  • 194
  • 1
  • 8