adobe-illustrator

Minimizing SVG file size [closed]

依然范特西╮ 提交于 2019-12-02 20:32:00
I am saving map images created in Adobe Illustrator as .svg documents. What are some tips and tricks for making the file size as small as possible? Turn off "Preserve Illustrator Editing Capabilities", which includes an enormous proprietary pseudo-binary blob in your file. GZIP your content (either explicitly, or via your web server settings) when the user agents you intend to view your work support this. SVG is XML, and hence text, and hence quite compressible. Reduce unnecessary numeric precision. (You can do this either with the "Decimal Places" setting when saving from Illustrator, or by

Cannot edit text in chart exported by Matplotlib and opened in Illustrator

半世苍凉 提交于 2019-12-02 18:19:40
I am exporting charts from matplotlib and editing them in Illustrator. It's great that I can edit the lines, but the text also comes in as lines, so I cannot change fonts, edit text, etc. I've exported as EPS, PDF, and PS with the same issues. I'm using matplotlib version 1.0.1 with python 2.7.1 on OSX Snow Leaopard. I appreciate any insights offered! I tried using pdf2ps as suggested here , but all that did was degrade the quality of the image without making the text rendered as real text. pdftops looked nicer, but still can't edit the text results. You can edit the text in Acrobat

is there a tool to create SVG paths from an SVG file? [closed]

末鹿安然 提交于 2019-12-02 14:50:31
does anyone know of a tool that can take an SVG file, and convert it into an HTML 5 SVG path? you know, the d="M 0 0 L 20 134 L 233 24 Z" fill="#99dd79" part? I head here: Use Adobe Illustrator to create SVG Path using "move to" commands But not sure. Does this mean Illustrator can take any line drwaing and save it as an SVG path? Note: Yes there is inkscape, but I'm looking for gradient and masking support, if that's possible. I'd like to be able to utilize .ai files and export them using illustrator or Acrobat or something... is there something out there? Or is it built in to Illustrator or

SVG CSS Hover Styling

这一生的挚爱 提交于 2019-12-02 05:52:40
Trying to stylize a SVG of this multi-color HTML image using CSS so that the right side of the 5 is white on hover. body { background-color: gray; } svg { height: 50vh; fill: white; } .html5 g.st2 .st0 { fill: transparent; } .html5:hover path.st0 { fill: #e44d26; } .html5:hover path.st1 { fill: #f16529; } .html5:hover g.st2 .st0 { fill: white; } <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewbox="-561 1804 379 407" style="enable-background:new -561 1804 379 407;" xml:space="preserve" class="html5"> <g> <path

SVG dilate/erode filter vs. Illustrator Offset Path

ⅰ亾dé卋堺 提交于 2019-12-01 21:19:13
Below is a screen capture of SVG image which is rendered on Chrome 22.0.1229.79 Mac. The original svg is on jsfiddle: http://jsfiddle.net/LGBk5/ The left image is made using SVG:s dilate and erode filters. The right one is made using Illustrator's Offset Path effect. The left one has problems: the border at the bottom is distorted and curves are not as smooth. Meanwhile the thick black border is the same in both. Has my SVG some parameter wrong or are the dilate and erode filters so seemingly buggy? EDIT: The purpose is to make paths thinner or thicker in SVG, but according to this example,

Processing Illustrator or pdf files into XAML

送分小仙女□ 提交于 2019-12-01 03:11:43
问题 What are the alternatives to process illustrator files or PDFs into XAML. My Current workflow works like this: Open the PDF file in Adobe illustrator Save the file as .ai (Adobe Illustrator) file Open in Expression Design Do some processing, mainly separating elements to layers and removing unneeded parts. Save as XAML Add XAML to Blend project My only problem is that this way the text gets converted to paths. I would like to keep my text in XAML as well instead of paths. Is there any other

Illustrator script to find all colors in document

陌路散爱 提交于 2019-11-29 15:18:13
I am looking for a script that will give me a list of all the colors in an Adobe Illustrator document by there color numbers (rgb or cmyk). I have no code and have no idea how to do this, or if you even can. Can anyone please give me any information? This will loop through all the shapes in the active document and gets posts an alert with their RGB fill colours: with (app.activeDocument) { if (pathItems.length > 0) { alert(pathItems.length); for (var g = 0 ; g < pathItems.length; g++) { if (pathItems[g].filled == true) { if (pathItems[g].fillColor.red > 200 == true && pathItems[g].fillColor

D3: Select and alter external SVG?

我的梦境 提交于 2019-11-29 11:04:42
Is it possible to select and alter elements in an embedded (external) SVG , created in Adobe Illustrator? html: <object data="circles.svg" type="image/svg+xml" id="circles"></object> circles.svg: <svg xmlns="http://www.w3.org/2000/svg" width="100px" height="100px" > <circle id="c_red" fill="#A00" stroke="#000" cx="40" cy="40" r="40"/> <circle id="c_grn" fill="#0A0" stroke="#000" cx="60" cy="60" r="40"/> </svg> d3 code: <script> var my_circles = d3.select("#circles svg").selectAll("circles"); my_circles.attr("fill", "black"); </script> Otherwise, I'm open to other ways of doing this. For

Optimal settings for exporting SVGs for the web from Illustrator?

半腔热情 提交于 2019-11-28 14:56:06
I'm looking to use an SVG logo for a website — to make it look great on a responsive design for all devices. But since there are issues , I want to support as many devices and browsers as possible. Load speed is also an important consideration. How do export settings in Adobe Illustrator fit into all this? In Illustrator, there are several options for SVG export. Firstly, which SVG profile is best? I assume SVG Tiny has a lower file size? Do many devices support SVG Tiny? What are the most important differences? (Without having to read this W3 monster .) Secondly, I assume that the best option

Illustrator script to find all colors in document

家住魔仙堡 提交于 2019-11-28 08:46:37
问题 I am looking for a script that will give me a list of all the colors in an Adobe Illustrator document by there color numbers (rgb or cmyk). I have no code and have no idea how to do this, or if you even can. Can anyone please give me any information? 回答1: This will loop through all the shapes in the active document and gets posts an alert with their RGB fill colours: with (app.activeDocument) { if (pathItems.length > 0) { alert(pathItems.length); for (var g = 0 ; g < pathItems.length; g++) {