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.
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.
- relates to
-
JDK-8329098 Support "@1x" image naming convention as fallback
- Resolved