Welcome Guest Search | Active Topics | Sign In | Register

Is it possible to extract an image from a PDF Options
Christian Glessner
Posted: Friday, January 13, 2012 7:04:30 PM
Rank: Newbie
Groups: Member

Joined: 12/20/2011
Posts: 8
Hello,

it's easy to add an image to an exisiting document, but is it also possible to extract an image from an existing pdf page with your API? When I access the contents property of an existing pdf page that just contains one image it always returns a PdfRawContent instead of an PdfImageContent object.

Bye,
Christian

eo_support
Posted: Friday, January 13, 2012 10:29:11 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

No. We do not parse an existing PDF content stream into typed content objects such as PdfImageContent mainly for performance reasons. We basically keep whatever that's already there as is as a PdfRawContent and only do things like reference fixups when we merge or split pages. Thus there is no way for you to get the image data out of it. Sorry about it!

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.