igorvilar / apv

Automatically exported from code.google.com/p/apv
GNU General Public License v3.0
0 stars 0 forks source link

How to take full page #69

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi All,

  I want to ask how to get bitmap with full page from pdf.  I want to cache a thumbnail from all the pdf page, but currently i only get tile.   I used this:
int[] imageBytes = null;
imageBytes = pdf.renderPage(i, 2834, size.width, 0, 3, false, false, size);
info:
  i   = looping page number (from 0 to end of pdf page)
the result was successfully returned a bitmap, but in tile / partially.

I'm sorry for the english.

Best Regards,
Santo

Original issue reported on code.google.com by abun.sa...@gmail.com on 11 Oct 2011 at 6:55

GoogleCodeExporter commented 8 years ago
That's correct, only functions to render a tile are currently included.  You 
can, of course, request the rendering of several tiles and then patch them 
together.  Or for a thumbnail, you can change the zoom and zoom out so that 
everything fits on one tile.

Original comment by arpruss on 4 Dec 2011 at 11:34