Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #34410

Re: Bash script with Image Magick to a Java program

From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: Bash script with Image Magick to a Java program
Date 2016-05-27 17:59 -0400
Organization Aioe.org NNTP Server
Message-ID <niafvu$1u8b$1@gioia.aioe.org> (permalink)
References <87oa7s4f1u.fsf@Equus.decebal.nl> <ni8a27$t0j$1@gioia.aioe.org> <8760tz50qf.fsf@Equus.decebal.nl>

Show all headers | View raw


On 5/27/2016 5:06 AM, Cecil Westerhof wrote:
> On Friday 27 May 2016 04:06 CEST, Arne Vajhøj wrote:
>> On 5/26/2016 6:42 PM, Cecil Westerhof wrote:

>>> I wanted to change this. I am thinking about porting to a Java
>>> application. Java has two libraries for Image Magick: Jmagick and
>>> im4java. But Java has also its own functions to process graphics.
>>> Would it be better to use the Java functions (no dependencies) or
>>> Image Magick. If the latter: which is the better library?

>> Regarding Jmagick vs im4java, then they do different things. Jmagick
>> is a JNI wrapper to ImageMagick C API. im4java is a programmer
>> friendly interface to run the ImageMagick program with certain
>> arguments.
>>
>> You know that functionality exposed via ImageMagick program is
>> sufficient because that is what you do today, so im4java must be
>> the obvious choice for you.
>
> But then people that are going to use my program need to install Image
> Magick. Or is this also the case when I am using Jmagick?

That would apply to both of them. They would need a shared library and
executable respectively.

If you don't want that, then you will need to go pure Java.

Arne

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bash script with Image Magick to a Java program Cecil Westerhof <Cecil@decebal.nl> - 2016-05-27 00:42 +0200
  Re: Bash script with Image Magick to a Java program Jerry Stuckle <jstucklex@attglobal.net> - 2016-05-26 20:45 -0400
    Re: Bash script with Image Magick to a Java program Cecil Westerhof <Cecil@decebal.nl> - 2016-05-27 11:01 +0200
  Re: Bash script with Image Magick to a Java program Arne Vajhøj <arne@vajhoej.dk> - 2016-05-26 22:06 -0400
    Re: Bash script with Image Magick to a Java program Cecil Westerhof <Cecil@decebal.nl> - 2016-05-27 11:06 +0200
      Re: Bash script with Image Magick to a Java program Martin Gregorie <martin@address-in-sig.invalid> - 2016-05-27 10:00 +0000
        Re: Bash script with Image Magick to a Java program Cecil Westerhof <Cecil@decebal.nl> - 2016-05-27 13:31 +0200
          Re: Bash script with Image Magick to a Java program Eric Douglas <e.d.programmer@gmail.com> - 2016-05-27 05:15 -0700
            Re: Bash script with Image Magick to a Java program Cecil Westerhof <Cecil@decebal.nl> - 2016-05-27 15:18 +0200
          Re: Bash script with Image Magick to a Java program Duncan Idaho <duncan@dunenoemail.com> - 2016-05-27 18:51 +0100
            Re: Bash script with Image Magick to a Java program Martin Gregorie <martin@address-in-sig.invalid> - 2016-05-27 18:02 +0000
              Re: Bash script with Image Magick to a Java program Cecil Westerhof <Cecil@decebal.nl> - 2016-05-27 23:23 +0200
            Re: Bash script with Image Magick to a Java program Cecil Westerhof <Cecil@decebal.nl> - 2016-05-27 23:18 +0200
              Re: Bash script with Image Magick to a Java program Duncan Idaho <duncan@dunenoemail.com> - 2016-05-28 08:03 +0100
      Re: Bash script with Image Magick to a Java program Arne Vajhøj <arne@vajhoej.dk> - 2016-05-27 17:59 -0400
  Re: Bash script with Image Magick to a Java program Brixomatic <brixomatic@yahoo.com> - 2016-05-29 17:28 +0200
  Re: Bash script with Image Magick to a Java program Eric Douglas <e.d.programmer@gmail.com> - 2016-06-14 10:25 -0700

csiph-web