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


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

Re: Bash script with Image Magick to a Java program

Path csiph.com!2.us.feeder.erje.net!feeder.erje.net!2.eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Cecil Westerhof <Cecil@decebal.nl>
Newsgroups comp.lang.java.programmer
Subject Re: Bash script with Image Magick to a Java program
Date Fri, 27 May 2016 11:06:16 +0200
Organization Decebal Computing
Lines 40
Message-ID <8760tz50qf.fsf@Equus.decebal.nl> (permalink)
References <87oa7s4f1u.fsf@Equus.decebal.nl> <ni8a27$t0j$1@gioia.aioe.org>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
Injection-Info mx02.eternal-september.org; posting-host="12baf5125b19322b899c79c2e3878015"; logging-data="30784"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Xz7vCm5pbvobJqj+CoP9UrpAdd3iXs8k="
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
Cancel-Lock sha1:iW9MgBZoqc9Djbpjjc3OSSnlzDA= sha1:vy1/LXrplBUa7ZJBDvnLGkGHyOo=
X-Homepage http://www.decebal.nl/
Xref csiph.com comp.lang.java.programmer:34397

Show key headers only | View raw


On Friday 27 May 2016 04:06 CEST, Arne Vajhøj wrote:

> On 5/26/2016 6:42 PM, Cecil Westerhof wrote:
>> I have a Bash script that is more as a decade old which I use Image
>> Magick to convert Photos to various other formats. For a long time
>> 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?
>
> If your conversion is so simple that it is easily done with standard
> Java library, then I suggest you go for it.
>
> But I suspect that it may not be sufficient. These wrappers do not
> exist because it is easy to do the same in Java without them.
>
> :-)

I evaluate things. Maybe I start with the standard library and as my
program evolves I switch. At the moment I know nothing about graphical
functionality in Java.


> 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?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

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