Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #37563
| From | Martin Gregorie <martin@address-in-sig.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Java 9 issues |
| Date | 2017-10-05 18:23 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <or5tag$oh1$1@dont-email.me> (permalink) |
| References | (9 earlier) <4656bf2d-d22d-46d1-bf82-970c1075a1ba@googlegroups.com> <or17ec$1vpn$1@gioia.aioe.org> <6748a626-2e2c-4b14-a592-4a9ebecd818e@googlegroups.com> <or53o9$nli$1@dont-email.me> <2c21e72b-f456-450c-a4bd-06817c054ebb@googlegroups.com> |
On Thu, 05 Oct 2017 06:09:00 -0700, Eric Douglas wrote: > On Thursday, October 5, 2017 at 7:07:00 AM UTC-4, Martin Gregorie wrote: >> Image Magick and the GIMP are well-regarded tools and are available for >> both Linux and Windows. I'd use the GIMP if just one or two images must >> be converted and Image Magick if a large batch of images needs >> conversion. It is a set of command line utilities and so is well suited >> for command-line scripting. >> >> Alternatively, ImageMagick is available as libraries that are callable >> from a large number of languages including Java, C, C++ and Python. For >> Java you'd use the JMagick package, which has Javadocs documentation. > > From what I can tell, ImageMagick/JMagick doesn't have a standalone Java > API. > The latest version appears to be here: http://www.jmagick.org/6.4.0/ (linked from the Develop page, http://www.imagemagick.org/script/ develop.php on the ImageMagick website). You'd want the jmagick-6.4.0-src.tar.gz archive IIRC there are Windows archive management programs that can expand a .gz file and unpack a .tar archive, or do both in one operation. That archive file contains Java sources. > As far as I know GIMP is just an application not a standalone Java API. > Correct, which is why I suggested using it for converting one or two files as opposed to writing a script (BAT) file that could use the Image Magick 'convert' utility to deal with a whole directory-full of image files. I don't know which approach is preferable for you since you didn't say how many image files are involved, whether such conversions would be one- off or a recurring activity, or if you'd prefer add the capability to a locally developed Java application. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Java 9 issues Eric Douglas <e.d.programmer@gmail.com> - 2017-10-03 08:12 -0700
Re: Java 9 issues Arne Vajhøj <arne@vajhoej.dk> - 2017-10-03 11:33 -0400
Re: Java 9 issues Patrick Roemer <sangamon@netcologne.de> - 2017-10-03 17:43 +0200
Re: Java 9 issues Arne Vajhøj <arne@vajhoej.dk> - 2017-10-03 12:07 -0400
Re: Java 9 issues Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2017-10-03 11:20 -0500
Re: Java 9 issues Eric Douglas <e.d.programmer@gmail.com> - 2017-10-03 10:19 -0700
Re: Java 9 issues Arne Vajhøj <arne@vajhoej.dk> - 2017-10-03 14:10 -0400
Re: Java 9 issues Patrick Roemer <sangamon@netcologne.de> - 2017-10-03 20:20 +0200
Re: Java 9 issues Arne Vajhøj <arne@vajhoej.dk> - 2017-10-03 15:37 -0400
Re: Java 9 issues Eric Douglas <e.d.programmer@gmail.com> - 2017-10-03 12:52 -0700
Re: Java 9 issues Patrick Roemer <sangamon@netcologne.de> - 2017-10-03 22:27 +0200
Re: Java 9 issues Eric Douglas <e.d.programmer@gmail.com> - 2017-10-03 13:38 -0700
Re: Java 9 issues Patrick Roemer <sangamon@netcologne.de> - 2017-10-03 22:55 +0200
Re: Java 9 issues Arne Vajhøj <arne@vajhoej.dk> - 2017-10-03 19:45 -0400
Re: Java 9 issues Eric Douglas <e.d.programmer@gmail.com> - 2017-10-04 05:18 -0700
Re: Java 9 issues Arne Vajhøj <arne@vajhoej.dk> - 2017-10-04 20:04 -0400
Re: Java 9 issues Eric Douglas <e.d.programmer@gmail.com> - 2017-10-05 06:10 -0700
Re: Java 9 issues Martin Gregorie <martin@address-in-sig.invalid> - 2017-10-05 11:06 +0000
Re: Java 9 issues Eric Douglas <e.d.programmer@gmail.com> - 2017-10-05 06:09 -0700
Re: Java 9 issues Martin Gregorie <martin@address-in-sig.invalid> - 2017-10-05 18:23 +0000
Re: Java 9 issues Eric Douglas <e.d.programmer@gmail.com> - 2017-10-03 12:03 -0700
Re: Java 9 issues Eric Douglas <e.d.programmer@gmail.com> - 2017-10-03 13:34 -0700
Re: Java 9 issues Eric Douglas <e.d.programmer@gmail.com> - 2017-10-03 13:49 -0700
Re: Java 9 issues Arne Vajhøj <arne@vajhoej.dk> - 2017-10-03 19:39 -0400
Re: Java 9 issues Eric Douglas <e.d.programmer@gmail.com> - 2017-10-03 14:01 -0700
Re: Java 9 issues Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-10-03 17:36 -0400
Re: Java 9 issues Eric Douglas <e.d.programmer@gmail.com> - 2017-10-04 07:51 -0700
Re: Java 9 issues Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-10-04 11:20 -0400
Re: Java 9 issues v_borchert@despammed.com (Volker Borchert) - 2017-10-04 20:14 +0000
Re: Java 9 issues Arne Vajhøj <arne@vajhoej.dk> - 2017-10-03 19:23 -0400
csiph-web