JMobile SVG graphic engine supports the SVG format called "Tiny 1.2".
Any graphic image in SVG format should be provided in a format compliant with this standard.
All the graphics in the JMobile widget gallery are developed and provided in this format.
The typical graphic tools used to develop SVG graphics are the ones from the Adobe Suite (like Illustrator).
The tools have options to save and export in the required format.
There are also tools available on the internet that can be used to create SVG from scratch or edit any existing SVG directly.
One of the most popular is Inkscape, freeware software that can be downloaded from the following link: Inkscape
This FAQ describes some guidelines about how to create/edit SVG images with InkScape that can be effectively used within a JMobile project.
Saving Format
SVG file must to be saved in the "Plain SVG" format
Dynamic Color
JMobile Studio allows to manage fill color of an SVG object that compose the image through a JMobile property called Fill Color or Background.
This can be done for objects that have "ID" defined as "bgColor0x" (case sensitive) where x is a two or more digit number, for example: bgColor00, bgColor01,..., bgColor010, bgColor011...
Some guidelines to follow:
InkScape properties:
JMobile Studio properties:
SVG size
It is generally very important to keep size of the SVG images as small as possible. Please note even if the JMobile graphic engine is very powerful and very flexible, you always have to deal with calculation time required by the CPU to render the image; as a reference, when designing an button image, good results can be achieved if the SVG file size is less than 40KB.
Note: Raster embedded images are not allowed.
JMobile Studio 1.60 and higher