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

Update Image.getScaledInstance with acceleration or documentation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4
    • None
    • 1.4.0
    • client-libs
    • None
    • 2d
    • Fix Understood
    • generic
    • generic

    Description

      Some time ago, when I found that my image scaling was incredibly slow, I was told by the 2D team that using Image.getScaledInstance() was not recommended any more. The preferred approach is to create a new Image and paint to it, scaling on the fly, to take advantage of faster loops.

      I am still seeing people using getScaledInstance() and I've been trying to correct them. But we need to fix this in our API. Either a) by deprecating the old method, b) documenting the preferred approach, c) changing the implementation to use the new faster loops.

      I suspect there may be similar situations with other methods - but I can't confirm.
      ###@###.### 2004-11-17 20:58:35 GMT

      Attachments

        Issue Links

          Activity

            People

              campbell Christopher Campbell (Inactive)
              shickeysunw Shannon Hickey (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Imported:
                Indexed: