Learn how to a build a cloud-first strategyRegister Now


Transforming coordinates, Forms XObject

Posted on 2006-04-04
Medium Priority
Last Modified: 2006-11-18
I am having trouble getting the transformation matrix to work when painting a form xobject that contains an image xobject. Here is the pdf code:


I am trying to:

    + Make an 8.5 x 11 inch page (612 by 792)
    + Make a form xobject that is also 8.5 by 11 inches
    + Put a graphics image (width=1272, height=718) on the form
    + Put the graphics image at x=100, y=100 on the form, size the graphics to w=127, h=71

When I open the file with Acrobat 6.0 the graphic does not paint and when I examine the object using Preflight, list-all-images I see a message:
Outside visible page area.

Expanding Detailed Information- Graphic State Properties- Images- CTM, I see the following numbers:


I have no idea how I told Acrobat to use those numbers. How do I tell Acrobat to paint the graphic at the spot described above.

Next, I plan on writing text over the form by putting Td commands in the page object. Do you see any problems with this.

Thanks in advance.

Question by:MikeBroderick
  • 3
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 16383306
You need to read the section about transformation matrices in the PDF reference at least a few times and potentially play around with working files a few times to get an idea about how they work.
I don't have time right now to look at your PDF file, I may be able to do this later today or tomorrow.
There is no problem with how you want to use the Td command.
More once I had a chance to look at the file.
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 16383350
One more thing: Are you sure that your XObject works correctly? You can verify this by just using the XObject as the page content. This helps to get the XObject debugged.

Author Comment

ID: 16385699
The image xobject works. I substituted its object number on the Page Resource object to test it. (The image looks horrible, I plan on fixing that next)
LVL 44

Accepted Solution

Karl Heinz Kremer earned 2000 total points
ID: 16390875
OK, in that case, all you need to do is to place the forms XObject in it's original size on the page:

1.000000 0.000000 0.000000 1.000000 0.000000 0.000000 cm
/XObj1 Do

Why are you placing the image into a forms object, and then add that into another forms object? You can just put the image into the resources of the page and place that.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the questions I get asked again and again is how to validate a field value in an AcroForm with a custom validation script. Adobe provided a lot of infrastructure to do that with just a simple script. Let’s take a look at how to do that wit…
*Adobe Acrobat 9 was used for this article.  Particular steps may vary depending on software versions. Adobe Acrobat has many, many variables that my be utilized to customize your forms for clarity and ease of use. The Form Editing Tool will be y…
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Suggested Courses
Course of the Month20 days, 21 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question