how to copy and save as image from PDF Document

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • svsenthilkumar
    New Member
    • Dec 2007
    • 11

    how to copy and save as image from PDF Document

    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
  • coolsti
    Contributor
    • Mar 2008
    • 310

    #2
    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.

    Comment

    • bnashenas1984
      Contributor
      • Sep 2007
      • 257

      #3
      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.

      Comment

      • pbmods
        Recognized Expert Expert
        • Apr 2007
        • 5821

        #4
        Heya, Senthil.

        Check out PHP's PDF extension (http://php.net/pdf).

        Comment

        Working...