# Flamingo SVG Transcoder

DevFeed: [Flamingo SVG Transcoder](<https://devfeed.tech/articles/flamingo-svg-transcoder-19305.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/flamingo-svg-transcoder/>)

Author: Shai Almog

Published: 2017-05-30T00:00:00Z

Content type: article

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [SVG](<https://devfeed.tech/topics/svg.md>), [XML](<https://devfeed.tech/topics/xml.md>), [Android](<https://devfeed.tech/topics/android.md>), [Swing](<https://devfeed.tech/topics/swing.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [code](<https://devfeed.tech/tags/code.md>), [experimental](<https://devfeed.tech/tags/experimental.md>), [format](<https://devfeed.tech/tags/format.md>), [graphics](<https://devfeed.tech/tags/graphics.md>), [performance](<https://devfeed.tech/tags/performance.md>), [svg](<https://devfeed.tech/tags/svg.md>), [transcoder](<https://devfeed.tech/tags/transcoder.md>), [vector](<https://devfeed.tech/tags/vector.md>), [xml](<https://devfeed.tech/tags/xml.md>)

## AI overview

The article introduces a Codename One fork of an SVG transcoder that converts SVG files into generated Java code usable wherever images are used. It explains SVG's resolution-independent vector format, limited native mobile support, and the experimental implementation's current lack of gradient support. The article also compares this approach with font icons and raster images.

## Source excerpt

SVG (Scalable Vector Graphics) is an XML based image format that represents an image as vectors instead of pixels (raster). An SVG file is represented by the set of lines & shapes that make it and can thus be rendered at any resolution without quality degradation due to scaling. It has some other neat tricks up its sleeve but I'm only going to discuss that specific feature today.