To solve this issues, you need to use the fewest possible number of points to create the shapes you need. Creating small, efficient files makes your life easier later. The more points a drawing has, the larger the file size and more difficult it is to edit and maintain. The shapes in an SVG drawing are described with coordinate points. In the images below, you can see in action how names from an Illustrator file reflect to the exported SVG. Illustrator Graphic Styles names are used as CSS classes ![]() Illustrator Symbols names are used as IDs for SVG symbols ![]() Illustrator Layers and Layers Groups names are used as IDs for SVG groups Here is what you need to know when you create a graphic in Illustrator: I’ve found it’s always much easier to create these labels during visual editing in Illustrator, rather than later.įor that reason, it’s important to give a meaningful name to each graphic element as you make it. To do this, you’ll need to use their names as a reference. Like an HTML document, you can select and manipulate individual elements separately. It’s a text document that has a specific structure. Give your drawing a proper structureĪn SVG file is not like a regular bitmap image - a grid of pixels. So, when you create new document, make sure the color mode is set to RGB – as you can see in the image below. ![]() RGB is much more appropriate for web and screen use, and has a wider gamut (range of colors) than CMYK. Illustrator - as most vector illustration software - was originally designed for print production, and therefore its color space is set to CMYK by default. When you create a graphic in Illustrator-which is intended for SVG export-you need to perform some steps and considerations required to make the final output properly optimized for web.
0 Comments
Leave a Reply. |