[
https://issues.apache.org/jira/browse/NETBEANS-3469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eirik Bakke updated NETBEANS-3469:
----------------------------------
Labels: HiDPI (was: )
> Cache PNG versions of loaded SVG icons
> --------------------------------------
>
> Key: NETBEANS-3469
> URL: https://issues.apache.org/jira/browse/NETBEANS-3469
> Project: NetBeans
> Issue Type: Improvement
> Components: platform - Other
> Affects Versions: 11.3
> Reporter: Eirik Bakke
> Priority: Minor
> Labels: HiDPI
>
> Support for SVG file loading via ImageUtilities was added in NETBEANS-2604.
> Once a substantial number of icons have been migrated to SVG versions (
> NETBEANS-2617 ), we should consider doing some performance work to ensure
> that icons can be loaded as quickly as before in the common case. See the
> benchmark and discussion in https://github.com/apache/netbeans/pull/1278 .
> timboudreau had the idea of caching rasterized versions of the SVG icons in
> the cache directory the first time they are loaded (and painted at a specific
> HiDPI scaling factor). I'd guess that this could speed up SVG file loading by
> about 4x. If all icons are cached, it would also save the overhead of loading
> the ~3MB Batik library JARs.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists