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
|
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!
|