svg or xpm?
Posted: Mon 11 Jun 2018, 10:53
what is the lightest and best?
Code: Select all
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48">
<path d="m46 24c0 12.15-9.85 22-22 22-12.15 0-22-9.85-22-22 0-12.15 9.85-22 22-22 12.15 0 22 9.85 22 22z" fill="#fff" stroke="#444" stroke-width="3"/>
</svg>
Code: Select all
/* XPM */
static char * roundbase01_xpm[] = {
"48 48 76 1",
" c None",
". c #434343",
"+ c #444444",
"@ c #494949",
"# c #6B6B6B",
"$ c #878787",
"% c #909090",
"& c #9B9B9B",
"* c #6A6A6A",
"= c #484848",
"- c #595959",
"; c #9A9A9A",
"> c #CECECE",
", c #F8F8F8",
"' c #FFFFFF",
") c #CDCDCD",
"! c #999999",
"~ c #585858",
"{ c #454545",
"] c #5F5F5F",
"^ c #B8B8B8",
"/ c #FCFCFC",
"( c #B6B6B6",
"_ c #5E5E5E",
": c #515151",
"< c #FEFEFE",
"[ c #B4B4B4",
"} c #505050",
"| c #707070",
"1 c #EAEAEA",
"2 c #E9E9E9",
"3 c #6E6E6E",
"4 c #929292",
"5 c #FBFBFB",
"6 c #919191",
"7 c #9D9D9D",
"8 c #8D8D8D",
"9 c #737373",
"0 c #FDFDFD",
"a c #EDEDED",
"b c #EBEBEB",
"c c #4E4E4E",
"d c #B1B1B1",
"e c #AEAEAE",
"f c #636363",
"g c #616161",
"h c #BCBCBC",
"i c #B9B9B9",
"j c #545454",
"k c #525252",
"l c #969696",
"m c #CFCFCF",
"n c #CCCCCC",
"o c #F7F7F7",
"p c #686868",
"q c #666666",
"r c #838383",
"s c #818181",
"t c #949494",
"u c #9C9C9C",
"v c #939393",
"w c #828282",
"x c #656565",
"y c #C9C9C9",
"z c #E7E7E7",
"A c #6D6D6D",
"B c #8C8C8C",
"C c #8B8B8B",
"D c #8A8A8A",
"E c #AFAFAF",
"F c #ADADAD",
"G c #4F4F4F",
"H c #F9F9F9",
"I c #8E8E8E",
"J c #7B7B7B",
"K c #7A7A7A",
" ",
" .+++++++++++++ ",
" +++++++++++++++++++ ",
" ++++++@#$%&&%$*=++++++ ",
" +++++-;>,'''''''',)!~++++{ ",
" ++++]^/''''''''''''''/(_++++ ",
" ++++:(<''''''''''''''''''<[}++++ ",
" ++++|1''''''''''''''''''''''23++++ ",
" ++++4/''''''''''''''''''''''''56+++. ",
" +++7''''''''''''''''''''''''''''&+++ ",
" +++%''''''''''''''''''''''''''''''8+++ ",
" +++90''''''''''''''''''''''''''''''/|+++ ",
" .++}a''''''''''''''''''''''''''''''''bc++ ",
" +++d''''''''''''''''''''''''''''''''''e+++ ",
" +++f0''''''''''''''''''''''''''''''''''/g++ ",
" +++h''''''''''''''''''''''''''''''''''''i+++ ",
" ++j5''''''''''''''''''''''''''''''''''''5k++ ",
" .++l''''''''''''''''''''''''''''''''''''''4+++ ",
" +++m''''''''''''''''''''''''''''''''''''''n+++ ",
" ++@,''''''''''''''''''''''''''''''''''''''o=++ ",
" ++p''''''''''''''''''''''''''''''''''''''''q++ ",
" ++r''''''''''''''''''''''''''''''''''''''''s++ ",
" ++t''''''''''''''''''''''''''''''''''''''''4++ ",
" ++7''''''''''''''''''''''''''''''''''''''''u++ ",
" ++7''''''''''''''''''''''''''''''''''''''''u++ ",
" ++v''''''''''''''''''''''''''''''''''''''''4++ ",
" ++w''''''''''''''''''''''''''''''''''''''''s++ ",
" ++x''''''''''''''''''''''''''''''''''''''''f++ ",
" ++@,''''''''''''''''''''''''''''''''''''''o=++ ",
" +++n''''''''''''''''''''''''''''''''''''''y++. ",
" +++l''''''''''''''''''''''''''''''''''''''4+++ ",
" ++j5''''''''''''''''''''''''''''''''''''5k++ ",
" {++h''''''''''''''''''''''''''''''''''''i+++ ",
" ++f0''''''''''''''''''''''''''''''''''/g++ ",
" +++d''''''''''''''''''''''''''''''''''e+++ ",
" ++}2''''''''''''''''''''''''''''''''zc++ ",
" +++|/''''''''''''''''''''''''''''''5A+++ ",
" +++%'''''''''''''''''''''''''''''<B+++ ",
" +++&<''''''''''''''''''''''''''<;+++ ",
" ++++C/''''''''''''''''''''''''5D+++. ",
" .+++|1''''''''''''''''''''''23++++ ",
" ++++}E/''''''''''''''''''/FG+++. ",
" ++++]^H''''''''''''''H(_++++ ",
" +++++}I>,'''''''',n8}++++{ ",
" ++++++=_J%&&%K_=++++++ ",
" +++++++++++++++++++ ",
" {++++++++++++. ",
" "};