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/10/11 03:47:33 UTC

[jira] [Closed] (PDFBOX-502) How To: compile for .NET for image support..

     [ https://issues.apache.org/jira/browse/PDFBOX-502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Hewson closed PDFBOX-502.
------------------------------
    Resolution: Invalid

Closing as this is a "how to" question.

> How To: compile for .NET for image support..
> --------------------------------------------
>
>                 Key: PDFBOX-502
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-502
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: .NET
>    Affects Versions: 0.8.0-incubator
>         Environment: Building for .Net 
>            Reporter: Rob Bradley
>            Priority: Trivial
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> I hope I have categorized this correctly...
> In order to take advantage of image support in PDFBox (ie to add an image to a page) you must compile with at least IKVM ver 0.40.0.1
> The older version returns an error "Not Implemented" when creating image objects like "org.apache.pdfbox.pdmodel.graphics.xobject.PDJpeg"
> The new version supports the java.awt.image library a little better.
> However, the new IKVM requires some changes to the build.xml file becease the IKVM file names changed.
> I probably have over referenced the dll's but this works.
> For each of the build.NET portions of build.xml:
> Replace 
>             <arg value="-reference:${ikvm.dir}/bin/IKVM.OpenJDK.ClassLibrary.dll" />
>             <arg value="-reference:${ikvm.dir}/bin/IKVM.AWT.WinForms.dll" />
> With
>             <arg value="-reference:${ikvm.dir}/bin/IKVM.AWT.WinForms.dll" />
>             <arg value="-reference:${ikvm.dir}/bin/IKVM.OpenJDK.Charsets.dll" />
>             <arg value="-reference:${ikvm.dir}/bin/IKVM.OpenJDK.Corba.dll" />
>             <arg value="-reference:${ikvm.dir}/bin/IKVM.OpenJDK.Core.dll" />
>             <arg value="-reference:${ikvm.dir}/bin/IKVM.OpenJDK.Jdbc.dll" />
>             <arg value="-reference:${ikvm.dir}/bin/IKVM.OpenJDK.Management.dll" />
>             <arg value="-reference:${ikvm.dir}/bin/IKVM.OpenJDK.Misc.dll" />
>             <arg value="-reference:${ikvm.dir}/bin/IKVM.OpenJDK.Security.dll" />
>             <arg value="-reference:${ikvm.dir}/bin/IKVM.OpenJDK.SwingAWT.dll" />
>             <arg value="-reference:${ikvm.dir}/bin/IKVM.OpenJDK.Text.dll" />
>             <arg value="-reference:${ikvm.dir}/bin/IKVM.OpenJDK.Util.dll" />
>             <arg value="-reference:${ikvm.dir}/bin/IKVM.OpenJDK.XML.dll" />



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)