Please choose a menu option
Visit the IDRsolutions WebSite

Java PDF to image conversion with separate Layers

From version 4.20 we have added a new feature to allow the PDF to image conversion with separate images for text, images and Vector graphics. You can also mix the layers together. There is an entry on our blog with sample screenshots.


How it works

Both ExtractPagesAsThumbnails and HiResThumbnailExtractor recognise a new JVM flag, "org.jpedal.separation". If this is set to all, then all the layers will be printed out as separate images.

You can access and edit the source code for both examples, so you can tailor it to your exact requirement. Click for the ExtractPagesAsThumbnails source code link or HiResThumbnailExtractor source code link.


Example screenshots for a PDF page

the complete PDFJust the text
image without shapestext and shapes

 

Return to main PDF support section

Click here for the main PDF support area with lots of java examples, PDF tutorials and useful information to get the most out of the JPedal PDF library

 


PDF viewer