Planet PDF Forum Planet PDF Forum
  New Posts New Posts RSS Feed - PHP PDF Page Cropping
  FAQ FAQ  Forum Search   Register Register  Login Login

Hi, welcome to the Foxit Planet PDF Forum. If you have PDF or Adobe Acrobat questions then the right place to ask them is here, in this forum.

PHP PDF Page Cropping

 Post Reply Post Reply
karthikeyan.mscse View Drop Down
New Member
New Member

Joined: 30 Jan 2012
Location: chennai
Points: 1
Post Options Post Options   Quote karthikeyan.mscse Quote  Post ReplyReply Direct Link To This Post Topic: PHP PDF Page Cropping
    Posted: 30 Jan 2012 at 7:35am

 Is it possible to crop each pdf page using PHP coding? If possible means how to do?

 Anyone give the suggestion for issue......?

 Karthikeyan Murugan
Back to Top
Rowan View Drop Down
Moderator Group
Moderator Group

Joined: 29 Jun 2011
Points: 82
Post Options Post Options   Quote Rowan Quote  Post ReplyReply Direct Link To This Post Posted: 30 Jan 2012 at 9:00am

There are some tools for PHP which let you generate PDF files such as FPDF and TCPDF but it doesn't look like there's anything for free that lets you crop PDF files using PHP.

If you need the solution to be free then your best bet might be to use something like ImageMagick to convert the PDF to an image, crop it, and then convert it back to a PDF. It's definitely not an ideal solution, since the PDF will become an image-based PDF without any interactive elements or text objects, but that might be your only option.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.10
Copyright ©2001-2017 Web Wiz Ltd.

This page was generated in 0.016 seconds.