Jump to content

Search the Community

Showing results for tags 'SVG'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Affinity Support Forums
    • News and Information
    • Affinity Support & Questions
    • Feature Requests & Feedback
    • Bugs in Affinity Designer & Affinity Photo
  • Learn and Share
    • Tutorials (Serif and Customer Created Tutorials)
    • Share your work
    • Resources
  • Affinity Beta Software Forums
    • Affinity Designer Beta Forums
    • Affinity Photo Beta Forums
    • Affinity Publisher Beta Forums

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 315 results

  1. When exporting a vector image to SVG, Designer appears to add hundreds of points to a path that aren't there when editing, causing the exported file to balloon many times the size as one exported from illustrator. For example, the Twitter logo contains 20 points on the path in Designer, but after exporting as a SVG it balloons to 1,554 points! Is there anyway to tell Designer to not add points, and to respect the original layout? This is holding me back from dumping Adobe Illustrator completely, so any help would be greatly appreciated. Thanks, Mike
  2. I want to import/place the following SVG file (hlines.svg). It looks correct in Illustrator. I can also open the file in Chrome and it looks correct. Here is how it looks when imported/placed in Designer: It is faint, but only the square in the upper left corner appears and it is missing the two horizontal black bars. How do I fix this? If I open the file it looks similar but I get a long list of layers. It seems that all of the boxes are being stacked on top of each other. I can select a layer and then move the SVG object to a different location. In this example, I moved each of the boxes from the upper left corner, where they were stacked on top of each other. I don't care if the objects are on separate layers or flattened on the same layer. I am not doing any editing except for scaling the entire image to 30 in x 30 in. I just need it to look like the image at the top, hLines.svg
  3. I'm having issues exporting a particular file to SVG and am hoping someone can help me determine what I'm doing wrong. I have two primary issues with my export of this particular file (attached): 1. On export, the black color for all text in the image, specified as #000000 in the AD file, is changed to #030405. I can correct this manually in the code of the SVG, but I'd prefer to not have to. The red color (#ed1c24) of the Flag logo is not being modified during the export. 2. For the elements at the top of the image (flag logo, DiveTag and TM), fill colors are being supplied in the SVG code: style="fill:#030405;fill-rule:nonzero;" For the elements at the bottom of the image, though, (Reward Text, URL), fill colors are NOT being supplied in the SVG code: style="fill-rule:nonzero;" While the SVG renders correctly in a web browser without the fill colors being specified, it does not render properly in the PDF generator control we are using (https://github.com/dompdf/dompdf). It just fails to render the paths without color specified in their styles. Again, I can correct this manually in the code, but I am wondering if there is a way to force AD to specify fill colors for all exported SVG paths? Also, why is it specifying fill colors for some of the paths in my file, but not others? Thanks for any help you can provide! Personalized_tag_contents_750x750.afdesign Personalized_tag_contents_750x750.svg
  4. Is it possible to add compatibility with SVGO https://jakearchibald.github.io/svgomg/ It is the most popular SVG optimizer for the web. Exported SVG files would be a way lighter. And it would be good to have a checkbox for exporting inline styles as classes it is useful for colorizing SVG using JS or CSS.
  5. April

    Unusually large SVG export

    Hello! I have two very similar files with little figurine people in them. Neither one of them has a lot of complicated curves, they both have a few radial gradients, etc. Alice exports to a 4.5KB SVG file, but Bob exports to a 360KB SVG file, and I cannot figure out why. The Bob SVG file just has a zillion points in it, for no particular reason. If anybody can help me figure out why the Bob file is exporting to something so huge, it would be a great relief. Thanks so much! alice.afdesign bob.afdesign alice.svg bob.svg
  6. I'm evaluating several editors for compatibility with my SVG patterns. The short story of my use case assumes some technical knowledge of the SVG format. I offer a growing collection with hundredths of patterns constrained by a grid and the rules of 2-in 2-out directed graphs. An example is attached. A pattern is defined with one <group> of <path> elements (imported as curves) and a set of <use> elements that repeat this <group> to build the pattern. These <use> elements are imported as copies of the group. For my use case all these groups should be linked as symbols, but they are not imported that way. I also tried without the style attribute (with fill-opacity) on the <use> elements and without the group around the <use> elements, but that did not help. This way users of my patterns should reconstruct the pattern from one group. With all alignment issues that requires quite a learning curve. Unless I'm overlooking a method to link identical groups as symbols after import, I would like more advanced support for SVG's <use> elements at import. Perhaps as an option for backward compatibility. Same advanced support at export would be a bonus. The long story of my use case is documented at https://github.com/d-bl/GroundForge/blob/master/docs/help/Reshape-Patterns.md 2in-2out-graph.svg
  7. Windows 10 - Publisher 1.7.0.133 I have a small Publisher document where I have inserted a simple SVG (Publisher thinks it is another document, don't know if this is relevant). When I try to move the SVG, the App takes a second or more to show the movement and sometimes everything on the canvas windows disappears temporarily. Dragging other items in the document seems to be unaffected. The document contains people's personal information so is there somewhere I can upload it in private so you can look at it?
  8. bpedit

    SVG Export Scale Issue

    I'm creating simple Bezier line drawings in Designer and exporting them as SVG files. When I import them into Carbide Create, a CAM app for running a CNC machine, the scaling is too small, generally by a factor of about 5.6. I can't just scale up for two reasons. The lines get choppy and the scale factor is not always exactly the same. I've tried a number of parameter changes to no avail. I have tried this process with iDraw and Inkscape, both export with proper scaling. When I import a Designer created SVG into either Inkscape or iDraw, I also must rescale the image although not necessarily with the same factor as Carbide Create. So, I suspect this is more an issue of how Designer is handling the SVGs.
  9. Hi there, I'm having some SVG issues. I'm using a mid 2014 MacBook Pro (2.2 GHz Intel Core i7). Every time I export an SVG it shows up as a blank white box. Below, you can see the logo I'm trying to export (it's the white logotype with a green shape). When I export as an SVG all I can see in my Mac finder window is a blank square box (see below). When I open the SVG in Illustrator, the logo shows up, but it's not cropped correctly (there's a bunch of white space above and below the logo which I don't have in Affinity). Any help would be greatly appreciated. Thanks !
  10. Importing an SVG file into Designer started to result in a single flat pixel layer while a couple of days ago it opened normally as a vector layered image. Even a vector image exported from Designer into an SVG file then opens as one single flat pixel layer. I may have altered the Preferences, but I do not see any reason for which any of the options would affect the import process in such a way. It seems to me that it really started to behave in a weird way. Thanks in advance for help.
  11. Hi, I'm placing an SVG file in Designer and try to convert to curves, but the menu item is disabled. This works perfectly with the same file in PagePlus X9. what am I doing wrong? Greetings, Sigurd
  12. I have recently switched over to Affinity Designer full time from adobe products after dabbling for a couple years. I'm rebuilding a document that I was originally done in Adobe illustrator. I'm exporting it as an svg file to be used with a program call Sure Cuts A Lot (SCAL) which I use to cut designs on a digital cutter. I'm having several problems opening the file in SCAL. First off, the file is more than 2x the size it was designed to be. Secondly, all elements are not visible when opened in SCAL. Thirdly, there is a dot that is appearing on the top right corner of the design which seems to be measured with the size but it isn't part of the design and can't seem to be removed. Precision for the size of the elements I'm cutting is paramount as are the missing elements. I print the document first after designating some lines as print lines and others as cut lines. After the document is printing I then cut the design out. This is a rather large problem that I need to fix, ASAP!! See photos below: The first shows the difference in scale with how it should look vs what appears when imported. Also, see the black dot to the upper left that appears? The second picture shows the preview of the file with text on it but, as you can see when its placed in SCAL the image has no text. The last picture shows the document in affinity designer with all elements as it should be. I hope i'm being clear, and I hope there is a fix that I am just missing when I'm trying to export.
  13. Hi guys, I created a logo with Affinity Designer and then decided to improve it by adding some outer shadow effects to the layers and groups that are part of the logo. I exported the logo as svg file but when I uploaded it to my site the shadows were not displayed and on top of that part of it got blurred. I opened the svg file with Affinity Designer to check whether it was a problem related to my browser or not but it happened the same. Then I checked that by deselecting the outer shadow effects the problem disappeared. Do you guys know anything about it? Probably I am doing something wrong. I am relatively new on graphic design. Find attached some files for more information. Many thanks in advanced! logo-design.afdesign
  14. Here’s a very quick tutorial that requires no images and may help others who use Affinity Designer with ZBrush to import vector/ svg shapes for extrusion. To bring in an SVG file to ZBrush’s Text 3D & Vector Shapes Plugin successfully I.e with no stretching of proportions and other potential issues….. 1, Make sure your document's porportions within Affinity Designer is square 2, If you didn’t create your vector shape in a square document - copy it and past it in to a newly created square document. NB: How the pasted shape is aligned is of no importance to ZBrush, nor is it’s size within the square document. 3, Select your shape in the document > now export your SVG >File > Export , using the preset SVG (for export) , Area = Whole Document. 4, Import in to ZBrush> ZPlugin> Text 3D & Vector Shapes>New SVG et voila. All should be harmony and joy. (At the time of writing using Affinity Designer 1.6 & ZBrush 4R8)
  15. Hi, new guy here. o/ I recently purchased and started using both Photo and Designer after having used Photoshop and Illustrator for many many years, not a heavy user but I know my way around it. Will take a while before I can switch completely, but I like the direction of both Affinity tools. Keep up the good work! First thing I tried with Designer is port some of the assets from AI and use Export Persona for exporting both PNG and SVG. While PNG works fine, SVG not so much. I've searched the forum, but wasn't able to find a concrete answer. Hence this topic. 1. Ability to retain width and height of the artboard as well as the viewbox. Checking off `Set viewbox` option in the export setting does set the height and width attributes, but it also removes the viewbox property, which is not ideal. For example AI handles this through `Responsive` setting in SVG export options; checking it removes width and height, otherwise both are always present. 2. Output SVG contains unwanted (unnecessary perhaps?) clipping elements and references and an empty artboard rect. In the below example only `<path />` is wanted and none of the other stuff. I imagine this is necessary if the slice is smaller than the artboard. But this is exactly what `viewbox` is for — to clip unwanted areas of an SVG. 3. Presentational attributes: `fill="#ebebeb"` instead of `style="fill:#ebebeb;"`. I do believe this was mentioned in one of the topics I found, but there was no clear answer to the issue. Perhaps something similar to AI SVG options where you can select how you want those properties to be exported. 4. Long-shot, but perhaps something similar to SVGO for minification. <svg width="100%" height="100%" viewBox="0 0 200 200" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"> <rect id="Artboard1" x="0" y="0" width="200" height="200" style="fill:none;" /> <clipPath id="_clip1"> <rect id="Artboard11" x="0" y="0" width="200" height="200" /> </clipPath> <g clip-path="url(#_clip1)"> <path d="..." style="fill:#ebebeb;" /> </g> </svg>
  16. I cannot find the option for choosing the decimal precision. In Inkscape, you could set the amount of significant digits to 5, for intance, this resulted in the shapes' coordinates looking like this: 5 significant digits: 1.2345 12.345 123.45 1234.5 3 significant digits: 1.23 12.3 123 My whole web application is based around SVG (dragging around on a big SVG map,) so it will probably see a size reduction of at least 25% solely from dropping the three decimals in all coordinate numbers I know you can just do a regex find in an editor and search for \.\d\d\d and just delete all occurrences, but that gets tedious to do manually every time I want to export svg
  17. Hello there, I am drawing on a Wacom Bamboo Slate, which can export your drawings (and writing via a kind of OCR) to text, image formats and SVG. Here's Wacom's specs for the Slate: http://www.wacom.com/en/products/smartpads/bamboo-slate#Specifications The Slate's ballpoint pen is marketed as having 1024 levels of pressure which in theory seems a bit much for a ballpoint pen, but would be nice if it could reproduce the light and heavy strokes you have made on paper. My problem is that the SVG files exported from Wacom's Inkspace app are filled black shapes instead of strokes. The shapes are thicker than the original paper lines, losing most of the line width variance, and I cannot find a way to reduce the width as you would with a stroke. I am attaching an image to illustrate my problem. Any thoughts on how to convert these shapes into strokes so that I could make them thinner? Many thanks in advance! PS there may be an answer in the thread below ('line width is not yet fully supported in the SVG standard'), but I'd like to confirm if something can be done about this using Affinity Designer? https://forum.affinity.serif.com/index.php?/topic/45452-how-do-i-import-paths-they-keep-turning-into-shapes/#comment-227169
  18. I am tryingto open an Illustrator File into Designer. it is this template file from a print shop. It seems fine in Illustrator. 3.5X2-SMART-V2.ai. When I bring it into designer is not working out: As Ilustrator into Designer: As SVG 1.1 into Deigner: As Svg 1.0 I can’t figure it out>. Any one Smarter can help me>>>. 3.5X2-SMART-V2.ai I don’t what to do!!
  19. Dampsquid

    SVG export problem

    Hi - please take a look at this thread... Post in iPad questions The question was around export of a design to SVG where a curve is a shape compounded from two with the subtract operation. There seems to be a bug here given it's not just me experiencing it. Thanks!
  20. It would be very handy to have an option to include invisible object in export to SVG and PDF. Main purpose for this is to improve exchanging working files with other applications.
  21. Hi all! I am writing you not as the usually nitpicky and potential Affinity-fanboy-who-lives-off-of-Publisher (I do currently live off of InDesign, so it would be only a matter of time, but things just may take a bit of a turn in my career path soon-ish), but as a prospective full-blown professional type designer and current type design teacher with some serious grievances to air; as you may guess, I recommend Affinity apps for most graphic design related tasks, and even though I vehemently tell all my students to familiarize themselves with type design packages (namely Glyphs.app, FontLab, RoboFont, etc.) and start drawing inside them right away, they are all more familiarised with all-purpose vector drawing packages when they begin studying type design, so, for those who may wish to go that route, I also make a point of explaining to them how to properly size their curves/paths in points, in order to correctly import them into Glyphs.app further on. Now, this usually works fine when using Adobe Illustrator, but when doing so with curves/paths drawn in Affinity Designer, some less-than-optimal results occur, as you can see from the enclosed screenshots. The result will always be the same (on both apps, mind you), either if I paste the curves/paths directly or if I export them into .EPS and import them into Glyphs (actually, Glyphs won't even let me try the latter – and gives me the enclosed error message, whereas .EPS content generated from Illustrator, whether pasted directly from the clipboard or dragged into Glyphs, will work just fine). If I export it from Affinity Designer into .SVG I will be able to import it into Glyphs.app without any missing nodes, but the scale will be way off, thus making the whole process needlessly complicated. I happen to be acquainted with Mr. Rainer Erich Scheichelbauer, from the Austrian type design studio Schriftlabor and the Glyphs.app development team, and I can put you guys in contact with him in order to work on fixing this issue. As for the recently released FontLab VI, I don't own it so I can't get into the compatibility with it for the moment in any authoritative fashion whatsoever. I did give their very feature-complete and stable public beta a go, however, and it seemed the interoperability was even more broken, so maybe you should chime in with Mr. Adam Twardoch from FontLab Inc. on that issue as well (though I'm guessing that FontLab's even more advanced curve/path drawing tools and its focus on über-pros – their app is expensive as hell, after all –, combined with their still less-than-elegant usage of – ugh – Qt, may mean that they don't care much about those interoperability niceties and would rather force their users to always draw inside of FontLab from the get-go). As it stands, Affinity Designer in standalone form (I have yet to test InkScape as a bridging app, but… I'd rather not, as it's even more cumbersome than AI) is completely unfit for type design purposes with Glyphs.app and, as such, I can't recommend it to my students at all, which is a pity because the price bracket and the target audience of both packages seem to be very similar. Do you have any insight as to what may be going wrong here (a non-standard/reverse-engineered or even standard and well-documented .EPS and .SVG implementation, just a bit gone wrong, perhaps?) and could you provide us with a tentative ETA for its resolution? Now, for some explanation on what each of these screenshots mean… Here we have the original outlines, all nice and dandy, without duplicate nodes or anything: And here we have the result of copying said outlines and pasting them directly to Glyphs.app and, as you can see, the scale is indeed correct but we're missing one node: Now, if we try to export a file into .EPS using Affinity and import it into Glyphs.app, we get this error message: Surely we'll get better results if we try using Adobe Illustrator, right? By opening the .EPS file in AI and saving it back, also in .EPS format but with a different name, and importing it into Glyphs, here's what we get, and indeed the results are better, as we get the correct scaling and all the nodes (plus some extraneous ones on the same place where Affinity Designer defined the first/main/closing nodes to be): For the sake of it, let's try saving both .EPS files, in their respective apps, into .SVG format instead and import them back into Glyphs.app… The result on the right was from the file generated in Affinity Designer, and the one on the left from the file generated in AI and, as you can see, AD got the scale way off but finally all the right nodes, whereas AI gave us the same result: Interestingly, if we copy the paths from the .SVG file generated in AI from the .EPS file exported in Affinity Designer and paste them directly from AI into Glyphs.app, we get the best results yet: So, all things considered, it seems the best course of action is to export the artwork in Affinity Designer into .EPS format (and not directly into .SVG, because, as I've just found out and pointed out in the thread title, Affinity Designer seems to mess up with the scaling factor when exporting into .SVG), then opening it on Adobe Illustrator, then saving it into .SVG format and, only then, directly copying it and pasting it into Glyphs.app. It's an effective but extremely convoluted process, which forces you to use AI anyway and kind of defeats the whole purpose of switching to Affinity Designer… :\ For your reference and… forensics, I guess, I am also enclosing the files used in the course of this test: p (generated with Illustrator from the EPS generated with Affinity).svg p (generated with Illustrator from the EPS generated with Affinity).eps p (generated with Affinity).svg p (generated with Affinity).eps test.glyphs
  22. I only found this strange effect after quite a bit of chin stroking and hair pulling with something that was confusing the heck out of me. Workflow to re-create the issue (in Designer for Windows): 1. Create a new document containing an artboard (A5 landscape will be fine). 2. Draw a triangle that almost covers the whole artboard (don't go near the edges so you can see the effect better). 3. Give the triangle a Black stroke colour and a thick stroke width (16pt will be fine). 4. Go the the Export persona and export the artboard as "SVG (for web)". 5. View the exported SVG in a browser. All should look just fine at this point. 6. Go back to the Draw persona. 7. Select the artboard layer - NOT the triangle layer (but it does the same thing either way). 8. Change the Opacity of that layer to 90% (this is the thing I did by accident that was producing the strange problem). 9. Go back the the Export persona and export the artboard as "SVG (for web)" again. 5. View the exported SVG in a browser. The image now looks blurred. It's actually an SVG containing a raster of the triangle. You can prove this by editing the SVG in a text editor. Is this expected behaviour? (It took me ages to figure out what I'd done "wrong".) I did a quick search and only found the following related issue: * https://forum.affinity.serif.com/index.php?/topic/63257-texts-rasterized-when-exporting-to-pdf
  23. Looking at the SVG output at the moment SVG's always get a 100% width and 100% height, meaning they always scale up or down to a parent-window (in a browser). But there are a lot of usecases we don't want SVGs to scale on websites and if we do it would be nice if we could set how the responsiveness would behave, so to wich windowborder the image would stick and if we want to keep the aspect ratio while scaling. These are all very simple SVG attributes that only have to be added to the svg when we need it. Browsers are doing the rest. At the moment there is no setting in the SVG settings to turn the auto scaling (100% width/height) behaviour off in the SVG, meaning we have to manually take these attributes out of the SVGs each time we export an SVG if we don't want autoscale. It would be a lot easier, faster and less time consuming if we could just set these settings once inside the SVG export options to save it with our own preset. So what I ask for in the SVG export settings dialog is: - A switch to choose between using document width/height (keep size) or 100% width/height (auto scale) - A listbox to choose the 'preserveAspectRatio' attribute in the SVG so we can set this to: - none, xMinYMin, xMidYMin, xMaxYMin, xMinYMid, xMidYMid (the default), xMaxYMid, xMinYMax, xMidYMax, xMaxYMax (as described here: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/preserveAspectRatio) These are important settings for exporting SVGs for Web and not very difficult to add to the dialog cause they only change 3 attributes in the svg tag. But they speed up the process of SVG exports a lot because these changes don't need to be made by hand in a texteditor after each export! Thanks!
  24. Hey everyone. I’m using both Affinity Photo and Designer on iPad Pro 12. I’m also using a Cricut. Does anyone know what the exact SVG export settings are for Cricut Design software compatability? I’m having problems importing files. Getting either blank files or clipping errors. Thank you very much. Screenshot of your exact SVG export setting screen would be extra helpful.
×