Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Set Mediabox and Cropbox in PDF

Posted on 2007-11-15
1
Medium Priority
?
705 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 375 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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
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 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…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

721 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