GroupBrowser  




Go Back   GroupBrowser > Adobe Product Newsgroups > Adobe Acrobat > Acrobat SDK
User Name
Password
 
 
Thread Tools Search this Thread Display Modes

Problem with scanned image and PDPageSetPDEContent
Old 08-28-2008, 11:40 AM #1
David_Evans@adobeforums.com
Guest
 
Status:
Posts: n/a
Default Problem with scanned image and PDPageSetPDEContent

Hello,

I have a PDF which has a scanned image on a page. Processing with PDF Library 7.01 and the PDE calls causes the image to be rotated again in the output.

According to the PDF, the application that created the PDF was Xerox WorkCentre 7665 and the producer was PDFlib+PDI 6.0.3 (Linux-ia32) . The scanned image is there as a form XObject and has been scanned landscape (even though it is actually a normal portrait page) so requires a Matrix in the form XObject to rotate the image onto a Letter-sized portrait page so that it views correctly. This views fine in Acrobat.

If this input PDF is processed by an application compiled with PDF Library version 7.01 on Windows (XP SP2), and just the following calls done on the page:

PDPageAcquirePDEContent
PDPageSetPDEContent
PDPageReleasePDEContent

i.e. with no actual changes to the content, the resulting output has the image rotated 90 degrees anti-clockwise. Looking at the objects in the PDF I can see that the form XObject in the output looks the same, with the same Matrix, but the page content has had a rotation added to it:

q
0 1 -1 0 612 0 cm
/Fm0 Do
Q

This seems to be a bug in the PDPageSetPDEContent API call.

Has anyone else seen this problem, and can you suggest a work around for it?

Regards

David
  Reply With Quote

Re: Problem with scanned image and PDPageSetPDEContent
Old 08-28-2008, 12:26 PM #2
Leonard_Rosenthol@adobeforums.com
Guest
 
Status:
Posts: n/a
Default Re: Problem with scanned image and PDPageSetPDEContent

Given that the current version of PDFLibrary is 9.0 - I would recommend that contact your licensing manager to obtain an update.

Leonard
  Reply With Quote

Re: Problem with scanned image and PDPageSetPDEContent
Old 08-28-2008, 12:36 PM #3
PDL@adobeforums.com
Guest
 
Status:
Posts: n/a
Default Re: Problem with scanned image and PDPageSetPDEContent

This is a known issue, even in PDFL 8.1. Upgrade to 9.
  Reply With Quote

Re: Problem with scanned image and PDPageSetPDEContent
Old 09-01-2008, 11:25 AM #4
David_Evans@adobeforums.com
Guest
 
Status:
Posts: n/a
Default Re: Problem with scanned image and PDPageSetPDEContent

Do you know an Adobe fault number or reference for this problem, or where I could find it? I just need it to quote while we look at moving to PDFL9.

Thanks

David
  Reply With Quote

Re: Problem with scanned image and PDPageSetPDEContent
Old 09-02-2008, 09:02 AM #5
PDL@adobeforums.com
Guest
 
Status:
Posts: n/a
Default Re: Problem with scanned image and PDPageSetPDEContent

You'd have to contact Adobe or your PDF Library reseller (Datalogics?) for that.
  Reply With Quote
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump




Microsoft Newsgroups 1 | Software Newsgroups


Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
© 2003-2004 All Rights Reserved GroupBrowser LLC.