By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,216 Members | 1,023 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,216 IT Pros & Developers. It's quick & easy.

how to copy and save as image from PDF Document

P: 11
Hi,


i want to crop a selected image from PDF Document and copy that and save it as a jpg image.

how can i access the crop image and save as a jpg or gif file format.

please give me some guildlines or coding for that.


With Regards,
Senthil kumar.V
Sep 10 '08 #1
Share this Question
Share on Google+
3 Replies


100+
P: 310
Maybe a different forum might help you, this is a PHP forum :)

I don't know offhand if the usual PDF reader Acrobat can do what you want to do, but one alternative possibilitiy is to get the part of the pdf document that contains the graphics you wish to copy showing on your screen completely. Then use the "Print Screen" key on your keyboard. Then open up a suitable image program, such as Photoshop or Irfanview and paste the screen dump into the application as a new image. Then you can use the facilities of the image program to crop the image as you like, and to save it as a jpg file.

This of course is all manual work, and I do not think you can automate this method if you have lots and lots of images you want to work with.
Sep 10 '08 #2

100+
P: 258
I agree with coolsti
Maybe you need to post this somewhere else. But if you really want to do this with PHP then I'll have to say that the only way to edit images in PHP is GD library which I don't think is capable of editing PDF.
Sep 10 '08 #3

pbmods
Expert 5K+
P: 5,821
Heya, Senthil.

Check out PHP's PDF extension (http://php.net/pdf).
Sep 11 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.