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
    • News and Information
    • Affinity Support & Questions
    • Feature Requests & Suggestions
  • Learn and Share
    • Tutorials (Serif and Customer Created Tutorials)
    • Share your work
    • Resources
  • Bug Reporting
    • Report a Bug in Affinity Designer
    • Report a Bug in Affinity Photo
    • Report a Bug in Affinity Publisher
    • (Pre 1.7) Affinity Range Bugs Forums
  • 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 354 results

  1. Hi there, I need to export a drawing to SVG – I am using Affinity Designer on MacOS – Is there a way to define the markup style in the SVG-file? I need the path-tag to be like this: <path fill="none" stroke="#000000" stroke-width="2" d="M257,1.5"/> But the SVG-output from Designer is like this: <path d="M68.5,260.5l193,-189" style="fill:none;fill-rule:nonzero;stroke:#000;stroke-width:2px;"/> Visually, the output is the same – but I need the SVG to be written like the first example. Is there a setting to achieve this? The reason behind this is as following: For a web page, I am using the css-framework https://getuikit.com/ For a simple SVG-animation, I need the SVG to be written like the first example above. If I put the Designer-SVG into my code, the animation is simply not working... Thanks for any suggestions!
  2. 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.
  3. Hi! In my previous more adobe-based workflow - I had a great system set up where I could generate front-panel graphics for our products using a bunch of scripts and SVG import pipelines. I would then manually touch them up and print them on to aluminium. Most of the SVGs dealing with fonts/texts are however broken when importing to affinity designer. Besides waiting for better SVG support - Is there a scriptable way of inserting texts/labels in to an affinity designer file?
  4. With my free SVG Calendar Tool (https://svg-tools.mensch-mesch.com/calendar/) you can create different types of SVG Calendar Templates (Scalable Vector Graphic) for all Affinity products. This tool is not perfect but it will possibly safe a lot of time. Hope you like this simple tool Keep on drawin' Norbert
  5. Hi all, im working on a project for a client in Designer.. I’m vectorizing a drawing for a product that will be CNC and Laser engraved.. and now the engraving company wants the finished file in a .DXF format.. I see that Affinity Designer doesn’t support.DXF. What is the best way to get my document converted into a file that the company can use? I’m using macOS Mojave and iPadOS Thanks in advance! Marius
  6. When importing SVG files into Affinity Designer, the text size becomes drastically reduced. Please see the following images comparing the same file when opened in Chrome vs affinity designer. This bug seems to affect all SVG files created by the software ChemDraw, so I can provide additional files if needed. By default, ChemDraw should export images with a font size of 10. I am using the latest version of the software as installed by the Microsoft Store. aniline.svg
  7. Hi all, just a question I'm not sure anyone can answer, but I´ll try :-) I'm working on a design in Designer, for something that will be laser engraved.. The client said they needed the file in .SVG when it's done. I guess they need the .SVG file to program into the laser engraving machine.. Does anyone know if I have to expand all the lines, to be laser engraved, or can they be like un expanded vector lines. Will the laser engraver understand that all that is black will be cut out? Or is there anything else I have to think about.. The client knows that I don't know much about laser engravers, but he said only he needed the file is .SVG Any tips or ideas? :-) Here is a little screenshot part of the design I'm working on..
  8. TL;DR 1) add dxf support (in- & export) 2) Change SVG exports to world/document units instead of pixels. I recently bought Designer to escape Adobe hell, but I am running into a rather large annoyance: We do a lot of lasercutting/CNC routing at our studio which needs DXF files to work (feature request 1, please add DXF support). I understand this isn't implemented in Designer atm and this wouldn't have to be a deal breaker if SVG export would work properly as I could always use or write an SVG to DXF converter. The problem with current state of SVG: Every SVG is converted to pixel units on export. What that means is that if I design a document in mm, it will be converted to pixels using the DPI setting in the export menu. I've figured out that 96dpi does seem to "work" to get the SVG in "correct" dimensions. Though, due to the fact that mm units are converted to pixels using DPI and are then reconverted to mm when opened up in other software packages, there are rounding errors. Example, 100mm converted to pixels at 96dpi (100mm*96dpi)/25.4mm = 377.952755906px Now, due to the nature of the codebase, that resulting float value is probably being rounded to a number of decimals (all SVG height & width values seem to be limited to 2 decimals), so when we try to convert that "rounded value" back to mm, my initial 100mm isn't quite that anymore. (377.95px/96dpi)*25.4mm = 99.999270833mm One might argue this is not an actual issue for the final result of the work you're doing, as lasercutting and routing wood have a larger error margin than that anyway, but it is for communications sake. When I tell my CNC partner something is 100mm, it needs to be 100mm, not 99.999. Besides that, this just feels like a bad implementation of SVG anyhow. Why would you even convert units. The only workaround I have found is drawing everything up in pixels and manually changing the svg code to use mm. eg.: <svg width="100%" height="100%" viewBox="0 0 1280 800" ... > to <svg width="1280mm" height="800mm" viewBox="0 0 1280 800" ... > This way all the values of the paths are interpreted correctly as being in mm instead of pixels, but this just feels like an ugly patch on something that should not be that hard to fix and implement. Please fix this. Thanks.
  9. Whenever I export an SVG file it comes out a different size. Such as I when I first create the file it says I set the size to 1px by 1px. I create a circle and then when I export it to my web application the size is much bigger than it says it was. I have found that if I change the width and height properties on the SVG file itself it will shrink the SVG to my liking, but I would like it to do it when I export and not have to do it every time. If you need any more information from me please let me know.
  10. There is a wide range of needed optimizations of the svg export in Affinity Designer. I am just listening the most important (buggy) ones for now: The svg tag has the width and height property as percental values, this can cause multiple (positioning / scaling) issues for the web usage (I am a Web Developer, 12+ years) while rendering the svg appropriate and the values are often differently in different browsers for the usage of early access in the DOM, the CSSOM and even for JS. That's why most SVG Exports usually use precise attribute values, e.g. instead of the current export <svg width="100%" height="100%" viewBox="0 0 596 842" ... it needs to be exported as <svg width="596" height="842" viewBox="0 0 596 842" ... AD exports the path's, etc. with inline styles (style="...") instead of the acutal svg properties (e.g. fill="...", stroke="...", font-style="...", etc.). Therefore it's currently hard to override those values outside the svg and even for dynamic JS manipulations / effects The id's of exported elements have the layer's names, therefore there are sometimes problems (e.g. <g id="ArtBö--ard11" serif:id="ArtBö &lt;ard1">) with special characters (including spaces, etc.), especially when trying to access them, sometimes they even brake things. They should be removed from the final svg export entirely (some of the special characters aren't w3c valid for id's anyway). By the way, the exported serif:id="..." makes the svg way bigger in size then it should be (bad loading times on the web), it makes a huge differences when it comes to complex svg's Other export tools / competitor tools do it as explained above and there are no problems. If there is some more detailed technical information needed then let me know.
  11. [ macOS El Capitan 10.11.6, Affinity Designer 1.5.4 ] Hi guys! I've been working quite extensively with AD, testing it for producing artworks for a small laser cutting business I own. And I must thank you since I managed to replace AI for 80% of the time! (on the computer which controls the machine I have only installed AD) But there are some bugs that I find here and then. :D Here's one: I created the attached file by code (example.svg), using the makerjs library and spitting out an svg with precise cm dimensions (as needed for laser cutting). When I open it in AI, the size is fine (3x3cm total), when I open it in AD, it's 3x3px. Am I doing something wrong? :huh: Thanks PS: I also must say that when copying a layer from AD and pasting it in another AD document it doesn't maintain the scale. PPS: Is there a way to the Affinity to works always in cm as default? example.svg
  12. Hello, I have received an error when trying to upload an svg into Cricut design space. Initially went to a Cricut forum, however I received little aid - seems to be a little too technical for the forum I chose. You guys have been great help with other issues so... I think I am missing something when I export my file from AD. I have attached the file, a pic of the error, & a pic of my export screen. (I have tried to export w/ flatten transforms & relative coordinates, with no luck) TIA. 3G1C.svg
  13. I have made a closed vector path in Photoshop. Applied an inner glow to the path. I can copy the path as SVG and paste into AD. The path gets pasted but not the effect applied to it. So...what tricks are there, if any, how to preserve vector layer effects when importing/pasting from Photoshop. Thanks
  14. Is there a way we can edit SVGs that we import into affinity designer on the iPad? It is labeled "Embedded Document" once imported. I saw that you can edit it on the desktop version but I haven't found anything about the iPad version. Thanks in advance for any help!
  15. The referenced Google Material Design SVG is expected to render as shown in the browser. It currently renders as shown in the attachment. https://github.com/google/material-design-icons/blob/master/sprites/svg-sprite/svg-sprite-maps.svg (perm https://github.com/google/material-design-icons/blob/224895a86501195e7a7ff3dde18e39f00b8e3d5a/sprites/svg-sprite/svg-sprite-maps.svg)
  16. In my experimentations for converting Illustrator files to Affinity, I find that SVG has a better potential than PDF. PDF has some crucial limitations in the PDF format that are no good for complex technical drawings (I'm a cartographer): - only top level layers are supported in PDFs (or at least Illustrator can only save top level layers as PDF layers). Most of my AI files have at least one level of sublayers. - within top level layers, sublayer content is not even grouped, so there is no way to easily recreate those sublayers. - symbols are expanded to raw artwork. Maps use symbols a lot and symbols must transfer without needing to be recreated. - effects beyond basic transparency are expanded to raw artwork (ie simple artwork plus a rasterized shadow under it). This is more easily recreated since most effects are the same within a layer. Though the simple artwork seems to be split to separate stroked and filled objects (identical path geometry), a bit messy there. - in some cases beyond effects, some artwork is still split to separate stroked and filled objects with identical path geometry. I've found that SVG supports all that much better, though with other limitations of its own (but more easily dealt with). - Layers SVG has no concept of layers, but Illustrator exports layers as named groups. So far, Affinity only converts top level named groups to layers. Named groups in those top level layers are left as named groups. Also, if there is only one object in a named group, it is not added to a layer, but imported as a lone object. I suggest Affinity import any named groups as layers and sublayers. And to ALWAYS make a named group a layer, even if there is only one object on the layer. - SVG supports symbols, and Illustrator does create SVG symbols on export But, Affinity expands all symbol instances, AND creates a separate expanded symbol of the symbol definition at the artboard 0,0 Please import SVG symbols as symbols. - Masks Affinity ignores masks on import - a mask is not created, AND the masking object is completely dropped. Please support importing and applying SVG masks. - Effects Well, no suggestions here - it appears Illustrator expands effects for SVG export also. Including splitting fill and stroke to separate objects. This one will still need some repair work after import, or preparation before export. These improvements will greatly help bringing over Illustrator files to Designer.
  17. I've a series of diagrams I have produced in a single Designer file, on separate artboards. The diagrams are related in a series, so it is easier to produce them in sequence. I am however having difficulties adding them to a Publisher document using the picture insert tool. I've attached one of the designer files and corresponding svg files in the hope someone has an idea what is going wrong. If I save a Designer file for each individual diagram, the diagrams are on the whole as I would expect, except I am experiencing an issue with items outside the artboard being visible. If I export the individual diagrams as SVG, they look fine when viewed in a web browser. However, place them into a Publisher document and something rather bizarre is happening. The diagrams are made up of numbers of layers of the same elements - often in the same location, with the upper layers cropped so the whole thing replicates 3d knitting. The whole thing appears flattened, and it looks like the cropped layers are removed. I'm not entirely sure whether there is a better way to do this, or if there is bug or two causing the issue. Any help would be appreciated. I'm working with 1.7.2.471 for both software packages, though the Publisher document was started with the previous release. 3 round bobble for publisher.afdesign 3 round bobble #1.svg
  18. Good morning to everyone. This is my first post and I have to start off by saying this message board has been a breathe of fresh air from the time I stumbled upon it from a google search. I am super excited to really explore the entire Affinity community and family of products. I am currently working with a design that my business partner made for me in Illustrator that I have opened in Design. The svg opens fine in Designer and scale and everything is perfect. The problem I am having is when trying to open the same svg file within Cricut Design Space. It is opening distorted, the wrong size, and even a few colors aren't picking up. From what I have read there seems to be a number of problems with this and I have yet to be able to figure it out. I have uploaded files if anyone is able to help I greatly appreciate it. I have found a work around to get my project complete but would love to know what settings to design in (business partner uses Illustrator and I use both Illustrator and Designer-hoping to drop Adobe and their subscriptions soon). Any help is appreciated. This is what the design looks like in Illustrator: This is what it looks like when I import it into Designer on my ipad: This is what it looks like on the upload screen in Cricut Design Space (the Pink heart is lost/distorted) This is what it looks like once in Cricut Design Space (not only is the pink heart gone/distorted) but now the layered colors (pink/teal) are both the same size smh. 1st Grade Tee Front 2.svg
  19. Hello, is there any option to scale also the strokes of an object? I have tried to scale in some other software .... but without success :-( The original file is 640px (width), i need 22px width If possible, i would like to export th result also to an WMF File. Thanks for any ideas
  20. Hi I use designer to create svg. Then I use this svg with sozi (https://sozi.baierouge.fr) in order to create a zooming presentation (prezi-like). Sozi was a plugin of inkscape but is now a standalone. I have to insert html link to improve my presentation. So I discover that it is not possible to insert html link in designer. I use Macsvg to manually insert a link (which is a mess) and I would love to make it directly in designer. Is it possible to have this feature in the next releases ? Thank you for your work Cyril
  21. I had a number of very primitive SVGs to make some adjustments (resizing etc. – see attachment)… But whenever I open these .svg files (from several different sources), the contents show up 180 degrees ROTATED in Affinity Designer (1.7.2, macOS)! Please try it with attached file. Opens fine and upright in Safari, Chrome, Firefox… In Affinity Designer however, after opening this SVG the Curves are upside down in the document. While upright in the Navigator Preview. Then, I select the object and set Rotation 180. After that it's upside down in the Navigator Preview. And, most annoyingly, after exporting to SVG, it renders upside down in the browsers too! What is going on? I have follow-up questions to this, but the rotation-issue is the most disturbing right now. Thanks for checking and improving. I like Affinity Designer very much, besides some weird issues now and then. youtube.svg
  22. Windows 10 Home 1903, Photo 1.7.1.404 and Designer 1.7.1.404. As part of an experiment I (fairly randomly) found an SVG https://pixabay.com/vectors/car-black-vehicle-transport-travel-311713/ that I wanted to use but upon opening it in Photo and Designer (haven’t bothered trying Publisher) I see that it hasn’t been imported correctly. A lot of the detail is missing and there are bigger issues – see attached snapshots from Designer and Photo. It’s not a big problem for me as I can use the raster version instead but I thought I’d mention it so someone can look into it (there’s a chance that the original SVG is to blame so it might not be an Affinity problem).
  23. Hello, As a dataviz designer I often create the base of my works with SVGs on the web, so I can program the visual elements to be based on the data, then to import them into a vector tool for other adjustments. I've noticed that Affinity Designer doesn't import any SVG linearGradient / radialGradient nor patterns, which I do often use, so for now I can't rely solely on Affinity Designer sadly enough. (I copy the SVG element from the "Elements" section from the devTools in Chrome) I've attached a document that shows the import of the link below. All the inner curves that have a gradient in the online version are invisible (have no fill) in the import: https://bl.ocks.org/nbremer/raw/4de6f0a9d9d06373fc639e32e9c346cc/ For a radial gradient, you can try this: https://bl.ocks.org/nbremer/raw/e944485869ac8fd57413a158e9d8aae0/ which results in a no-fill circle being placed in Affinity Designer For pattern examples, you can try the following links that all are imported seemingly remaining invisible: https://bl.ocks.org/veltman/raw/57fbb830ba7e62caa46a82891168bc29/ https://bl.ocks.org/1wheel/raw/a8f39c8a96b71735488bf280d34bd765/ https://bl.ocks.org/veltman/raw/50a350e86de82278ffb2df248499d3e2/ I'm using Affinity Designer 1.7.1 on macOS Thank you! SVG_import_No_gradients.afdesign
  24. I, along with @v_kyr, have been trying to assist @GreenGirl in this thread on Drawing Automation based on formulae and range of input values? One problem we have run into is that the svg exported from the template designer file includes a transform that includes a rotation matrix, which affects all subsequent objects that we create in the svg file, when imported into Designer. Apparently, you can reset the bounding box of your basic tic by simply pressing the '.' (period or full stop) key! One of Designer's more useful, but well-hidden features.  I created an oblique line, and exported to Oblique line.svg  I then rotated it to the vertical. It maintained its bounding box and exported to Oblique line rotated.svg. This svg file included a transform and rotation matrix.  Pressing the '.' key reset the bounding box and exported to Oblique line rotated.reset.svg. However the exported svg from this at stage 3 ignored the reset and was the same as that produced by stage 2.  An older workaround (if your object is a closed path) is to create a box around it with the rectangle tool, and use the intersect tool on the pair. This doesn't work either. It still reverts back to stage 2 above. I would expect that the output from stage 3 would not have any transform and rotation matrix. John Oblique line.svg Oblique line rotated.svg Oblique line rotated reset.svg
  25. Width and height dimensions in exported files have a value of 100%. Sometimes values are needed in pixels. You must then change them in a text editor. Is it possible to enter an additional option in the "Export Options" panel that enables widtch and height values expressed in pixels?
×

Important Information

These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.