Help:SVG/basic2
ChemDraw
Files from this editor can easily be made W3C-valid by opening up the file in Inkscape and saving the file as "Optimized SVG". Then upload the file and add the template: {{Created with Chemdraw}}.
BKchem
Files from this editor can be made W3C-valid by opening up the file in a text-editor and:
- Removal of cdml-files
- Removal of the line: xmlns:cdml="http://www.freesoftware.fsf.org/bkchem/cdml" out of the header of the file.
- cdml-files
Then upload the file.
CorelDRAW
Files from this editor can be made W3C-valid by opening up the file in Inkscape and:
1. Selecting all the elements of the file. Ungroup all the elements of the file. And then press File/Vacuum Defs. This will declutter the file.
2. It might be that the file is still not W3C-valid. One reason can be the text in the SVG-file. A quick and dirty solution is to press Path/Object to Path with all the elements of SVG-file still selected. All the elements of the SVG-file will be paths now. Regroup all the elements of the file by pressing the group-button or by pressing CTRL+G.
3. Save the file as Plain SVG. (There is no consensus on this. For the pros and cons on this, see this page: https://commons.wikimedia.org/wiki/Help:Inkscape#Bugs_and_workarounds).
- Group and Ungroup buttons
- Vacuum Defs
- Path/Object to Path
4. Then upload the file. And add the templates: {{ValidSVG}} and {{Created with CorelDraw}}.
If this still hasn't worked, you can open the file in a text-editor. SVG-files consist of XML-code and this code can be worked upon.
Page made by Wereldburger758 (talk) 16:37, 6 April 2014 (UTC). For questions, visit my talkpage.
Category:Commons help Category:SVG help#%3F