Repository: pdfbox-docs Updated Branches: refs/heads/asf-site f05877eee -> e94337a5c
Site checkin for project Apache PDFBox Website Project: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/commit/e94337a5 Tree: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/tree/e94337a5 Diff: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/diff/e94337a5 Branch: refs/heads/asf-site Commit: e94337a5cdce244499b6c976cddd1d8b0b09fe60 Parents: f05877e Author: Maruan Sahyoun <sahy...@fileaffairs.de> Authored: Thu Apr 14 19:28:01 2016 +0200 Committer: Maruan Sahyoun <sahy...@fileaffairs.de> Committed: Thu Apr 14 19:28:01 2016 +0200 ---------------------------------------------------------------------- content/2.0/migration.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/e94337a5/content/2.0/migration.html ---------------------------------------------------------------------- diff --git a/content/2.0/migration.html b/content/2.0/migration.html index 2c4c27c..9058ff3 100644 --- a/content/2.0/migration.html +++ b/content/2.0/migration.html @@ -249,7 +249,7 @@ and so on. The <code>add</code> method now supports all the different type of re </code></pre></div> <h3 id="pdf-rendering">PDF Rendering</h3> -<p>With PDFBox 2.0.0 <code>PDPage.convertToImage</code> has been removed. Instead the new <code>PDFRenderer</code> class shall be used.</p> +<p>With PDFBox 2.0.0 <code>PDPage.convertToImage</code> and <code>PDFImageWriter</code> have been removed. Instead the new <code>PDFRenderer</code> class shall be used.</p> <div class="highlight"><pre><code class="language-java" data-lang="java"><span class="n">PDDocument</span> <span class="n">document</span> <span class="o">=</span> <span class="n">PDDocument</span><span class="o">.</span><span class="na">load</span><span class="o">(</span><span class="k">new</span> <span class="n">File</span><span class="o">(</span><span class="n">pdfFilename</span><span class="o">));</span> <span class="n">PDFRenderer</span> <span class="n">pdfRenderer</span> <span class="o">=</span> <span class="k">new</span> <span class="n">PDFRenderer</span><span class="o">(</span><span class="n">document</span><span class="o">);</span> <span class="kt">int</span> <span class="n">pageCounter</span> <span class="o">=</span> <span class="mi">0</span><span class="o">;</span>