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

Specifying "@Nx" scaling level in ImageStorage should only load that specific level

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • jfx23
    • javafx
    • None
    • generic
    • generic

      During JDK-8329098 review we decided that searching for different scales of loaded Image should only be done if we load a resource without scaling in its name.

      In other words:
      - Loading foo.png will search for foo@2x.png, foo@3x.png, ...
      - Loading foo.png with no foo.png available should try loading foo@1x.png as a fallback
      - Loading foo@2x.png, foo@3x.png, ... explicitly will only attempt to load that scaling level and no other levels.

            lkostyra Lukasz Kostyra
            lkostyra Lukasz Kostyra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: