Do you own a Debenu Quick PDF Library 12/11/10/9/8/7? Upgrade to Debenu Quick PDF Library 13!

Foxit Quick PDF Library

Frequently Asked Question:

Return to FAQ Index

Recompose splited images after image extraction.

Question

I wonder if there is a simple way via QPL to recompose extracted images (DASaveImageDataToFile or SaveImageToFile) when they are sub parts of a global one in the original PDF.

I mean, there's a lot of pdf file in which manufacturers split embedded image in several ones.

You can check that in acrobat when your selecting an image, you're in fact selecting only a part of the image. And when i extract images from a such page, in spite of in pdf view i have only one "real" image, it is split in some sub images.

All the library i used (other than QPL) product the same result except one (but insufficient for other aspects).

So I want to reproduce the same result with QPL, which is great by the way, and before dealing with sub image relatives positions in pdf and so having an headache, is there a simple way with QPL to reproduce this behaviour?

Answer

There isn't currently a way to recompose certain extract images from PDF files. As you've mentioned, these images are actually stored in multiple parts inside the PDF. It is not typical for an image to be stored in multiple parts, but it does sometime happen depending on how the images were originally added to the PDF.

We will look at adding support for recomposing these images in a future version. I have added it to the wishlist.


© 2015 Debenu & Foxit. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum