You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SVG rasterization for icons introduced in this PR enables the use of arbitrary Java libraries to rasterize SVGs at runtime. Currently, the library JSVG has been selected for this purpose, as it provides the best results compared to other Java libraries such as svgSalamander, Apache Batik, and EchoSVG.
However, there are non-Java libraries that outperform JSVG in terms of performance and functionality. Based on existing comparisons (Wikimedia SVG test suite and resvg GitHub repository), the C-library resvg stands out as the best option.
The choice to use a Java library for the initial implementation was made to simplify integration. Integrating a C library like resvg introduces additional complexity. As can be seen in my JSVG performance evaluation, using JSVG adds approximately 1 second to the initialization time of the Eclipse UI when rasterizing SVGs. One way to improve the performance of the feature is using a faster library like resvg.
This issue stands as a reminder for future work and does not need to be finished to use the feature, as the performance of JSVG is probably sufficient for now.
The text was updated successfully, but these errors were encountered:
The SVG rasterization for icons introduced in this PR enables the use of arbitrary Java libraries to rasterize SVGs at runtime. Currently, the library JSVG has been selected for this purpose, as it provides the best results compared to other Java libraries such as svgSalamander, Apache Batik, and EchoSVG.
However, there are non-Java libraries that outperform JSVG in terms of performance and functionality. Based on existing comparisons (Wikimedia SVG test suite and resvg GitHub repository), the C-library resvg stands out as the best option.
The choice to use a Java library for the initial implementation was made to simplify integration. Integrating a C library like
resvg
introduces additional complexity. As can be seen in my JSVG performance evaluation, using JSVG adds approximately 1 second to the initialization time of the Eclipse UI when rasterizing SVGs. One way to improve the performance of the feature is using a faster library likeresvg
.This issue stands as a reminder for future work and does not need to be finished to use the feature, as the performance of JSVG is probably sufficient for now.
The text was updated successfully, but these errors were encountered: