Is there any way to remove all text from SVG?

25 views
Skip to first unread message

Support

unread,
Mar 30, 2011, 9:12:12 PM3/30/11
to PDF2SVG
Q: Is there any way to export all the images etc from the PDF but not
the text. Your app PDFTron PDF2SVG has the best export I have found
but I need a way to remove all the text.

If not, do you know of a way I can remove all instances of \n<text
transform

------------------

A: You could do some post-processing on SVG (e.g. using XSLT?) to
remove all text elements. Attentively you could use PDFNet SDK (http://
www.pdftron.com/pdfnet/) to remove all text from PDF before it is
converted to SVG.

This type of operation is very easy to implement - as shown in
ElementEdit sample:
http://www.pdftron.com/pdfnet/samplecode.html#ElementEdit

Please note that PDFNet SDK includes PDF to SVG functionality as part
of Convert-Add on (pdftron.PDF.Convert.ToSvg() - as shown in Convert
sample) .
Reply all
Reply to author
Forward
0 new messages