Solved

Set Mediabox and Cropbox in PDF

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
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 viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

734 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