Hello all

Hello all,
i want to render SVG image and convert to PNG,
Please share to me if someone has any solution?

Comments

  1. HTML Component Library also has SVG support

    ReplyDelete
  2. Current Delphi implementations (GR32 + VPR, NativeSvg, etc) did not render all our SVG correct. Closest comes this one:
    http://www.riversoftavg.com/svg.htm
    (still one gradient render issue needs to be solved).

    I also made a working PoC using Cairo, but this takes 12 dlls and 20Mb (dependency on gnome framework or some like that)

    There are other libs, just search on google and try their demos to see if your svg's are rendered correct, but all delphi libs are partial implemented. Only Cairo + Google chrome renders everything right...
    (at least, that's my experience)

    ReplyDelete
  3. FireMonkey? I think a FMX TPath is a SVG path, and you can render it to a TBitmap. And, FMX bitmaps save as PNG files by default.

    ReplyDelete
  4. Edwin Yip AggPas did not render my svg correct and has limited support. David Millington SVG is more than only paths, so FMX cannot render a full SVG (circle, rectangles, etc). There was for XE2 an ApeSuite or something like that with SVG support but due to FMX refactorings it does not work with XE3 and higher (and it also did not render my svg's iirc)

    ReplyDelete
  5. AggPas has a minimun support for svg, there's a component called svgimage (http://development.mwcs.de/svgimage.html) site is in german

    ReplyDelete

Post a Comment