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


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

Re: ImageIO/BufferedImage behaving inconsistently from one day to the next.

From Fred Greer <fggreer@nospam.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: ImageIO/BufferedImage behaving inconsistently from one day to the next.
Date 2012-06-21 00:22 +0000
Organization A noiseless patient Spider
Message-ID <jrtpft$i87$10@dont-email.me> (permalink)
References <jrrcl4$f5v$3@dont-email.me> <aj13u71k1c7ctt4469189hfqunv14iqcth@4ax.com>

Show all headers | View raw


On Wed, 20 Jun 2012 01:16:16 -0700, Roedy Green wrote:

> On Wed, 20 Jun 2012 02:31:00 +0000 (UTC), Fred Greer
> <fggreer@nospam.invalid> wrote, quoted or indirectly quoted someone who
> said :
> 
>>(BufferedImage img
>  did you put in MediaTracker wait code for this to load?  If you
> didn't sometimes you will try to get the size before it loads.

It's being loaded with ImageIO.read(), which so far as I have been able 
to determine is synchronous. In fact I'm not sure a BufferedImage can 
ever appear to calling code to not be not fully loaded (as opposed to a 
generic Image).

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


Thread

ImageIO/BufferedImage behaving inconsistently from one day to the next. Fred Greer <fggreer@nospam.invalid> - 2012-06-20 02:31 +0000
  Re: ImageIO/BufferedImage behaving inconsistently from one day to the next. markspace <-@.> - 2012-06-19 19:38 -0700
    Re: ImageIO/BufferedImage behaving inconsistently from one day to the next. Fred Greer <fggreer@nospam.invalid> - 2012-06-20 03:07 +0000
  Re: ImageIO/BufferedImage behaving inconsistently from one day to the next. markspace <-@.> - 2012-06-19 20:22 -0700
    Re: ImageIO/BufferedImage behaving inconsistently from one day to the next. "John B. Matthews" <nospam@nospam.invalid> - 2012-06-20 14:26 -0400
  Re: ImageIO/BufferedImage behaving inconsistently from one day to the next. Patricia Shanahan <pats@acm.org> - 2012-06-19 20:38 -0700
    Re: ImageIO/BufferedImage behaving inconsistently from one day to the next. Fred Greer <fggreer@nospam.invalid> - 2012-06-20 04:08 +0000
  Re: ImageIO/BufferedImage behaving inconsistently from one day to the next. Roedy Green <see_website@mindprod.com.invalid> - 2012-06-20 01:16 -0700
    Re: ImageIO/BufferedImage behaving inconsistently from one day to the next. Joerg Meier <joergmmeier@arcor.de> - 2012-06-20 11:44 +0200
    Re: ImageIO/BufferedImage behaving inconsistently from one day to the next. Fred Greer <fggreer@nospam.invalid> - 2012-06-21 00:22 +0000
  Re: ImageIO/BufferedImage behaving inconsistently from one day to the next. Knute Johnson <nospam@knutejohnson.com> - 2012-06-20 08:39 -0700
    Re: ImageIO/BufferedImage behaving inconsistently from one day to the next. Fred Greer <fggreer@nospam.invalid> - 2012-06-21 00:23 +0000
      Re: ImageIO/BufferedImage behaving inconsistently from one day to the next. Knute Johnson <nospam@knutejohnson.com> - 2012-06-20 21:23 -0700
        Re: ImageIO/BufferedImage behaving inconsistently from one day to the next. Fred Greer <fggreer@nospam.invalid> - 2012-06-21 04:58 +0000
          Re: ImageIO/BufferedImage behaving inconsistently from one day to the next. Knute Johnson <nospam@knutejohnson.com> - 2012-06-21 05:58 -0700

csiph-web