Solved

Set Mediabox and Cropbox in PDF

Posted on 2007-11-15
1
665 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Inserting page numbers in Portable Document Files not only enhances manageability but also makes them look professional. With numbered pages, the file appears more organized and it becomes easier to search for a particular page. The size and the vol…
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…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

910 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now