Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Cecil Westerhof Newsgroups: comp.lang.java.programmer Subject: Re: Bash script with Image Magick to a Java program Date: Fri, 27 May 2016 11:01:55 +0200 Organization: Decebal Computing Lines: 27 Message-ID: <87a8jb50xo.fsf@Equus.decebal.nl> References: <87oa7s4f1u.fsf@Equus.decebal.nl> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="12baf5125b19322b899c79c2e3878015"; logging-data="30784"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18yRC9gNNhiQzzmU3iq4mc7RsaHyX+yka4=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Homepage: http://www.decebal.nl/ Cancel-Lock: sha1:B5GgEbaKBjEbR0MOATr04+vf2vg= sha1:KCGEsKt0MOHLK3/Z7Kj9qTuixZ8= Xref: csiph.com comp.lang.java.programmer:34398 On Friday 27 May 2016 02:45 CEST, Jerry Stuckle 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? >> > > Why change something that is working? Because things change. For example I take a lot more pictures today then when I wrote the script. So decisions I made then do not make sense anymore. Beside that it is mostly a batch program and the possibility to have a GUI is an improvement. Also I think that as simple it is, it could be useful to others also. And not everyone can run Bash scripts, but most people can run Java applications. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof