From users-return-11533-archive-asf-public=cust-asf.ponee.io@pdfbox.apache.org Wed Mar 6 18:52:17 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id C05A1180656 for ; Wed, 6 Mar 2019 19:52:16 +0100 (CET) Received: (qmail 23664 invoked by uid 500); 6 Mar 2019 18:52:15 -0000 Mailing-List: contact users-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@pdfbox.apache.org Delivered-To: mailing list users@pdfbox.apache.org Received: (qmail 23634 invoked by uid 99); 6 Mar 2019 18:52:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2019 18:52:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A6711C73CF for ; Wed, 6 Mar 2019 18:52:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3 X-Spam-Level: *** X-Spam-Status: No, score=3 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ktercW1xN-tz for ; Wed, 6 Mar 2019 18:52:12 +0000 (UTC) Received: from mailout10.t-online.de (mailout10.t-online.de [194.25.134.21]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id D1E7861122 for ; Wed, 6 Mar 2019 18:52:11 +0000 (UTC) Received: from fwd13.aul.t-online.de (fwd13.aul.t-online.de [172.20.27.62]) by mailout10.t-online.de (Postfix) with SMTP id A4F7F419F8C9 for ; Wed, 6 Mar 2019 19:52:05 +0100 (CET) Received: from [192.168.2.108] (bLKa2+ZXQhxGZzDL3k2k-qEgjrgH-BE-MvHQOk2MiATBVbYT4bwGstghwbBA0q8wkP@[84.151.182.1]) by fwd13.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1h1be6-0a96au0; Wed, 6 Mar 2019 19:52:02 +0100 Subject: Re: Extract embedded SVG image from PDF file To: users@pdfbox.apache.org References: <06238d76-0146-0a24-ff63-15b92a8d3aa1@t-online.de> From: Tilman Hausherr Message-ID: <1c089cc3-236b-1965-948b-132ad0e2beca@t-online.de> Date: Wed, 6 Mar 2019 19:52:02 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------6E806387FAE384B185E0C4C8" Content-Language: en-US X-ID: bLKa2+ZXQhxGZzDL3k2k-qEgjrgH-BE-MvHQOk2MiATBVbYT4bwGstghwbBA0q8wkP X-TOI-MSGID: 0942b252-f05a-4f20-8e0a-29bda83ac0f9 --------------6E806387FAE384B185E0C4C8 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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 > > * implementation-chart.svg >  - > 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 > 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 > > For additional commands, e-mail: users-help@pdfbox.apache.org > > --------------6E806387FAE384B185E0C4C8--