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

Pure colors in images do not appear in their pure state in 8bits

XMLWordPrintable

    • 2d
    • generic, x86, sparc
    • generic, solaris_2.6, windows_nt

      Build : 'M'
      OS : all platforms
      Bit Depth: 8bit only.
      app : attached is an app that draws 4 images with pure white as the
                 background.

      In a 8bit depth, the pure white in these image files do not appear in their intended color of absolute white instead appears in off white of gray. Should be able to see an image with 256 solid colors without any being dithered.

      Consideration: dithering should be an option to be able to turn off for flat colored graphics? Minimally on Windows 236 with 20 reserved for the OS.

      Interesting caveat:
         Under 8bits in Win95, if you launch the attached java app (and notice the off white of the background on the images) then launch the PC Paintbrush located in: Start->Programs->Accerssories->Paint. Change focus between the two apps to assert palette and something interesting happens.... The java app with images that have dithered white background becomes white!

            chaasesunw Chet Haase (Inactive)
            rckim Robert Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: