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


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

Re: Bash script with Image Magick to a Java program

Path csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Duncan Idaho <duncan@dunenoemail.com>
Newsgroups comp.lang.java.programmer
Subject Re: Bash script with Image Magick to a Java program
Date Sat, 28 May 2016 08:03:53 +0100
Organization A noiseless patient Spider
Lines 22
Message-ID <nibflu$5u1$1@dont-email.me> (permalink)
References <87oa7s4f1u.fsf@Equus.decebal.nl> <ni8a27$t0j$1@gioia.aioe.org> <8760tz50qf.fsf@Equus.decebal.nl> <ni95r3$19j$1@dont-email.me> <871t4n4u12.fsf@Equus.decebal.nl> <nia17p$8ju$1@dont-email.me> <87eg8n2oa7.fsf@Equus.decebal.nl>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
Injection-Date Sat, 28 May 2016 07:00:14 -0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="431058c5ba7b2ef78e507d720779c3d0"; logging-data="6081"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ZkJ8XCXLqWJ0tjpKHk/SIKNw+G+Pcw2E="
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4
In-Reply-To <87eg8n2oa7.fsf@Equus.decebal.nl>
Cancel-Lock sha1:dItGMBblkIu6tEIF0WUuSBwz83c=
Xref csiph.com comp.lang.java.programmer:34412

Show key headers only | View raw


On 27/05/16 22:18, Cecil Westerhof wrote:
> On Friday 27 May 2016 19:51 CEST, Duncan Idaho wrote:
>
>> On 27/05/16 12:31, Cecil Westerhof wrote:
>>> On Friday 27 May 2016 12:00 CEST, Martin Gregorie wrote:
>>>
>>>> On Fri, 27 May 2016 11:06:16 +0200, Cecil Westerhof wrote:
>>>>

where do you want it sent.

> That would be nice. If you like I will refactor it and send it back.
> And if you like something implemented …

Well you will need to do something as the single class method takes an instance of
org.apache.commons.fileupload.FileItem; as argument, FileItem exposes a couple of methods to return it's
contents as byte[] or an InputStream which is what the code uses. It's a trivial change though.


-- 
Duncan Idaho
!(ghola mentat)

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