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


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

Re: Bash script with Image Magick to a Java program

From Cecil Westerhof <Cecil@decebal.nl>
Newsgroups comp.lang.java.programmer
Subject Re: Bash script with Image Magick to a Java program
Date 2016-05-27 15:18 +0200
Organization Decebal Computing
Message-ID <87mvnb3agy.fsf@Equus.decebal.nl> (permalink)
References (1 earlier) <ni8a27$t0j$1@gioia.aioe.org> <8760tz50qf.fsf@Equus.decebal.nl> <ni95r3$19j$1@dont-email.me> <871t4n4u12.fsf@Equus.decebal.nl> <66b7ccd1-27cc-40d0-bab0-5f74f760c285@googlegroups.com>

Show all headers | View raw


On Friday 27 May 2016 14:15 CEST, Eric Douglas wrote:

> On Friday, May 27, 2016 at 7:43:49 AM UTC-4, Cecil Westerhof wrote:
>> I am not knowledged in image manipulation. So that could make
>> things trickier.
>>
>> At the moment I do two things:
>> - resize to a minimum format
>> - resize to a precise format
>>
>> If the format is 852x316 and the input format is 4000x2664. The
>> first results in an image with format 852x567 and the second in an
>> in image with format 852x316 where the converted undisturbed image
>> is centred on a black background 0f 852x316. This gives horizontal
>> or vertical stripes.
>>
>> Is this doable (without jumping through hoops)? Otherwise I
>> probably should go for im4java.
>
> How difficult image manipulation is in Java depends exactly what you
> want to do. Do you want the same input and output format? Is it just
> jpg? Are you just scaling it smaller? Piece of cake. We could write
> that in 5 minutes.

At the moment what I want is very simple: converting photo's in JPG
format to other sizes. For use on for example Facebook and as elements
in YouTube video's.

I would not be surprised if I want to do more in the future. ;-) For
example adding text, adding borders, …


I already had a few projects for this weekend, but I think I just got
another. ;-)

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