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


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

Re: Mirror an image

Path csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Jeff Higgins <jeff@invalid.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Mirror an image
Date Tue, 01 Apr 2014 11:09:57 -0400
Organization A noiseless patient Spider
Lines 8
Message-ID <lhel09$sqv$1@dont-email.me> (permalink)
References <2299213c-18fc-4e55-ab39-22dce863b255@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Tue, 1 Apr 2014 15:12:10 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="6b9e92482af47766954d85fb77d372f5"; logging-data="29535"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/r7B20FAkE0XsTho6ZBxUxmI05DanBUGU="
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10
In-Reply-To <2299213c-18fc-4e55-ab39-22dce863b255@googlegroups.com>
Cancel-Lock sha1:QgspiOvjt5yK+A4VWksiPnIN2ms=
Xref csiph.com comp.lang.java.programmer:27931

Show key headers only | View raw


On 04/01/2014 10:44 AM, pgmbento93@gmail.com wrote:
> hi, i was confronted with this problem. i was given a code where i have to mirror an image at the middle. so the image needs to be divided and then i have to mirror the image. this is the code:

Use BufferedImage.createGraphics()
and then Graphics2D.scale(x,y) to flip the image.
No need for the getRGB loop.

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Mirror an image pgmbento93@gmail.com - 2014-04-01 07:44 -0700
  Re: Mirror an image Jeff Higgins <jeff@invalid.invalid> - 2014-04-01 11:09 -0400
    Re: Mirror an image Jeff Higgins <jeff@invalid.invalid> - 2014-04-01 11:15 -0400
  Re: Mirror an image Roedy Green <see_website@mindprod.com.invalid> - 2014-04-01 11:56 -0700
    Re: Mirror an image Wanja Gayk <brixomatic@yahoo.com> - 2014-04-06 20:18 +0200
      Re: Mirror an image Jeff Higgins <jeff@invalid.invalid> - 2014-04-06 18:01 -0400
        Re: Mirror an image Wanja Gayk <brixomatic@yahoo.com> - 2014-04-13 15:57 +0200
          Re: Mirror an image Jeff Higgins <jeff@invalid.invalid> - 2014-04-13 10:21 -0400

csiph-web