pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: Extract embedded SVG image from PDF file
Date Wed, 06 Mar 2019 18:52:02 GMT
Hi,

Your image didn't get through. But I looked at your PDF file with 
PDFDebugger, no SVG there. Just PDF vector graphics.

Tilman

Am 06.03.2019 um 09:34 schrieb European Neuroscience Center:
> Hi,
>
> Here are example PDF and source SVG:
>
>   * SVG_Test_Page.pdf
>     <https://drive.google.com/open?id=1bzNyot3FH__8JUq9uf4uyJoBYCMSsTa5>
>   * implementation-chart.svg
>     <https://drive.google.com/open?id=1VuSgePgeivXkBhXDaLGuo0YttuVY-kLp> -
>     the SVG file is not the same as in PDF. PDF file is generated from
>     similar SVG file.
>
> I think SVG is part of this PDF, because the source is in SVG format 
> and because when I open this PDF file with Adobe Acrobat, this part 
> exist as an image and is possible to export as an image:
> image.png
>
>
> Regards,
> Miro.
>
> On Wed, Mar 6, 2019 at 9:48 AM Tilman Hausherr <THausherr@t-online.de 
> <mailto:THausherr@t-online.de>> wrote:
>
>     Am 06.03.2019 um 00:07 schrieb European Neuroscience Center:
>     > The image in PDF file is already in SVG format - ie in XML
>     format. I need
>     > to find it and extract this XML part as file with SVG extension.
>
>     Please share your PDF (upload to a sharehoster). Is it a file
>     attachment
>     in the PDF? SVG is not a part of PDF. Why do you think that you
>     have an
>     SVG image in the PDF?
>
>     If it is a file attachment, then look at the
>     ExtractEmbeddedFiles.java
>     example in the source code download.
>
>     Tilman
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
>     <mailto:users-unsubscribe@pdfbox.apache.org>
>     For additional commands, e-mail: users-help@pdfbox.apache.org
>     <mailto:users-help@pdfbox.apache.org>
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message