Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4674132

BufferedImage.setRGB()-need definition of "nearest".

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 1.4.0
    • client-libs
    • 2d
    • sparc
    • solaris_7

      Spec for BufferedImage.setRGB(int x, int y, int rgb) states "For images with an IndexColorModel, the index with the nearest color is chosen." Its not clear how to chose which color is closest to the input rgb value.

            Unassigned Unassigned
            pjr Paul Rank (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: