vector - Change all black paths to transparent pixels in Adobe Illustrator 5.1 -


i'm trying download icons http://game-icons.net/ , need black pixels transparent. techniques i've found on google have not worked, have turned them white.

thanks time.

am missing something? assuming using svg versions, why can't select black rectangle , delete it?

assuming moment correct, , perhaps issue importing svg ai, easy enough manually in text editor.

here contents of "electric.svg" icon file:

<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 512 512"><path d="m0,0h512v512h-512z"/> <g transform="matrix(15 0 0 15 -5924 -6649.4327)"> <use width="744.094" height="1052.362" transform="translate(432 440.36218)"/> </g> <g fill="#fff" transform="matrix(-3.75 0 0 3.75 2295.9997 -3330.35765)"> <path d="m512,944.3622 32,0 0-52 32,76-32,0 0,52z"/> </g> </svg> 

http://jsfiddle.net/hp8dt/

there <g> , <use> in there not doing anything, rid of them if like.

<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 512 512"><path d="m0,0h512v512h-512z"/> <g fill="#fff" transform="matrix(-3.75 0 0 3.75 2295.9997 -3330.35765)"> <path d="m512,944.3622 32,0 0-52 32,76-32,0 0,52z"/> </g> </svg> 

http://jsfiddle.net/hp8dt/1/

the first <path> element 1 creating black background, delete it. in order lightning symbol (which white) visible, need change colour. we'll use red.

<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 512 512"> <g fill="red" transform="matrix(-3.75 0 0 3.75 2295.9997 -3330.35765)"> <path d="m512,944.3622 32,0 0-52 32,76-32,0 0,52z"/> </g> </svg> 

http://jsfiddle.net/hp8dt/2/


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -