Solved

Set Mediabox and Cropbox in PDF

Posted on 2007-11-15
1
683 Views
Last Modified: 2013-12-24
Hi,

I am adding images to PDF using imagick_convert function from Imagick library in PHP.  In PDF their is a property called Media Box & Crop Box.  I have to set coordinate for these boxes.  Is any PHP function available to disable or set specific coordinate [0 0 0 0] for these boxes while creating PDF using Imagick library?

Thanks
0
Comment
Question by:bksaji
1 Comment
 
LVL 21

Accepted Solution

by:
nizsmo earned 125 total points
ID: 20297264
Not sure of this as there isn't much documentation on imagick_convert function.

However, have you tried using this:
http://www.fpdf.org/

This should be easier (described in tutorial 2) to place an image when creating a pdf.

Hope this helps.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article focuses on how to remove password security from multiple PDF files by Adobe Acrobat program. Sometimes it is essential to access the stored data items and to print, edit as well as copy content from Portable Document Format files in abs…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

713 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