QualInsight / qualinsight-plugins-sonarqube-badges

Plugin for SonarQube that generates badges displaying information about a project's or view's quality.
GNU Lesser General Public License v3.0
110 stars 141 forks source link

png output format #74

Closed miguellobato84 closed 2 years ago

miguellobato84 commented 6 years ago

Hi there,

I know that the plugin its called "SVG badges" for a reason, but it would be great if it could export it other images formats, like png. The reason its that some clients can't read svg images, for example, many mail clients.

Best Regards Miguel

miguellobato84 commented 6 years ago

Some parameter like (&output=png" could be passed to the url. In that case, svg stream could be easily converted to a png stream using batik transcoder https://xmlgraphics.apache.org/batik/using/transcoder.html