Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ImageMagick Java API

Is there any ImageMagick Java API ?

-Ken

like image 664
ken Avatar asked Aug 19 '26 12:08

ken


2 Answers

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).

like image 191
Pablo Santa Cruz Avatar answered Aug 21 '26 02:08

Pablo Santa Cruz


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.

like image 38
Notalifeform Avatar answered Aug 21 '26 01:08

Notalifeform



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!