Faenqomod new title.xml file

francesco.devita at mailoo.org francesco.devita at mailoo.org
Sun Jul 8 19:41:43 CEST 2012

>  Is there any advantage of pic vs png vs svg. My guess would be that the first
>  is the fastest, before png and svg being the slowest but the only one that
>  does a proper scaling eg when the device is put in landscape mode?

The pic files are generated, IIRC, by compiling a theme or the entire 
QtMoko (see QtMoko and/or QtExtended documentation). If you don't want 
to compile a theme (i.e. the way I work, copying/pasting the right files 
in the right locations, it seems to be the easy way) then it's difficult 
to manage pic files (to date, I didn't find a software capable to open 
them; if there is one please tell me!), so you have to use other format.
The scaling does not depend only on the file format, if you have a big 
image you can scale down it and stretch it as you wish with a proper xml 
The svgs are the only file that are possible to deform without loosing 
quality but they are the heaviest. So it's better to work with the svgs 
only to create the final pngs, and using the latters in the theme, with 
proper dimensions that allow good scaling.
If you notice the files in a theme, they are only pngs and pics, 
positioning and scaling are delegated to the xmls. But there is only one 
exception (due to a bug I suppose) that requires svg: the pin box buttons.


More information about the community mailing list