You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2014/02/08 20:45:19 UTC
[jira] [Resolved] (PDFBOX-109) SVG image problem
[ https://issues.apache.org/jira/browse/PDFBOX-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Hewson resolved PDFBOX-109.
--------------------------------
Resolution: Incomplete
Closing due to lack of information. I suspect that this issue was fixed some time ago.
> SVG image problem
> -----------------
>
> Key: PDFBOX-109
> URL: https://issues.apache.org/jira/browse/PDFBOX-109
> Project: PDFBox
> Issue Type: New Feature
>
> [imported from SourceForge]
> http://sourceforge.net/tracker/index.php?group_id=78314&atid=552835&aid=1363759
> Originally submitted by gompy80 on 2005-11-22 05:35.
> Hi,
> I have the following problem. I create PDF's using FOP.
> To insert an image in the fop file I use svg tags. For
> now that's the only way to do it.
> If I view the PDF in acrobat reader the image is
> dispayed correct, but when I display it on a panel or
> print it using PDFBox everything is correct except the
> images. They aren't displayed at all.
> Is it possible to implement svg for PDFBOX displaying
> and printing?
> Thanks!!
>
> An example of an svg tag:
> <fo:block padding-start="5mm" font-size="10pt"
> font-weight="normal" padding-before="5mm"
> text-align="center">
> <fo:instream-foreign-object
> content-type="content-type:image/jpg">
> <svg:svg height="4cm" width="4cm"
> xmlns:svg="http://www.w3.org/2000/svg";
> xmlns:xlink="http://www.w3.org/1999/xlink";>
> <svg:image width="4cm" height="4cm" x="0" y="0"
> xlink:href="data:image/jpg;base64,{$imagesrc}"/>
> </svg:svg>
> </fo:instream-foreign-object>
> </fo:block>
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)