Problem with scanned image and PDPageSetPDEContent

Ask a Question related to Adobe Acrobat SDK, Design and Development.

  1. #1

    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
    David_Evans@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. Converting a Scanned Image to editable Text
      Is there a way to convert a TIFF image into editable text? OCR doesn't recognize the text because it's seen as one big image. Please Advise ...
    2. Black band on top of scanned image
      Am using Acrobat Professional 6.0 (upgraded) in Window XP (upgraded) with an Agfa Duoscan HiD (drivers and software upgraded). When I import from a...
    3. Is a scanned image better to work with than a ...
      image pulled from a cd to the hard drive?
    4. IS IT POSSIBLE TO CREATE A SWATCH FROM A SCANNED IMAGE?
      I want to create a swatch from a scan of a piece of cardboard. I can't seem to find any way of doing this in Illustrator 10, I also have Photoshop 7...
    5. Import scanned image to Filemaker Pro 5.5?
      Hi, Rookie here with Filemaker Pro 5.5. How or can you import scanned images (OCR, JPG, etc) into a filemaker pro database from an HP 3970...
  3. #2

    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
    Leonard_Rosenthol@adobeforums.com Guest

  4. #3

    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
    David_Evans@adobeforums.com Guest

  5. #4

    Default Re: Problem with scanned image and PDPageSetPDEContent

    You'd have to contact Adobe or your PDF Library reseller (Datalogics?) for that.
    PDL@adobeforums.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139