BufferedImage.getHeight(ImageObserver) and getWidth() should always know h/w

XMLWordPrintable

    • 2d
    • 1.4
    • sparc
    • solaris_7

      When a BufferedImage is created, the height and width of the BufferedImage is always known. However, the spec for BufferedImage.getWidth(ImageObserver) and BufferedImage.getHeight(ImageObserver) state " If the width/height is not known yet then the ImageObserver is notified later and -1 is returned." These statements are incorrect and are not needed in the spec.

            Assignee:
            Andrew Brygin
            Reporter:
            Paul Rank (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: