Solved

Set Mediabox and Cropbox in PDF

Posted on 2007-11-15
1
699 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. 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 : Go t…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

623 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