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

Graphics2D.drawRenderedImage shows artifacts on horizontal scrolling of image

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 1.1.1, 1.4.2_03, 5.0
    • client-libs
    • 2d
    • b62
    • generic, x86
    • generic, windows_98

      Customer reports:

      "I get some rendering error by scrolling (horizontal) binary images. It
      is mainly visible when displaying text.

      Does someone already experience this problem?

      I use Jai 1.1.2 & j2se1.4.2_03. I attach an example."

      The customer test code is attached (called TestScroll.java). The test image provided is also attached. I am attaching another version of the test code, called JAIScroll.java which shows that using javax.media.jai.widget.ScrollingImagePanel to display the image does not show these artifacts on scrolling. So this may be a Graphics2D.drawRenderedImage problem.

      To run these test programs, set the following environment variables

      setenv JAI /import/jai/workspaces/JAI_1.1.2
      setenv CLASSPATH .:$JAI/build/solaris/lib/jai_core.jar:$JAI/build/solaris/lib/jai_codec.jar:$JAI/build/solaris/lib/mlibwrapper_jai.jar
      setenv LD_LIBRARY_PATH .:$JAI/build/solaris/lib/sparc:${LD_LIBRARY_PATH}

      where /import/jai is mounted as quickserv.sfbay:/export/stripe/jai. also accessed as /net/quickserv.sfbay/export/stripe/jai

            flar Jim Graham
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: