[PHP] PDF Thumbnail with PHP?

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default Re: [PHP] PDF Thumbnail with PHP?

    Unfortunatly, that's not what I'm trying to do. That function will add an
    image to a PDF file as a thumbnail. What I want to do, is read a PDF file,
    and generate a thumbnail in the form of a gif or jpg and have it display in
    the browser. Thanks for the thought though.

    - Anthony


    "Jay Blanchard" <jay.blanchard@niicommunications.com> wrote in message
    news:C8F323573C030A448F3E5A2B6FE2070B0101FA4E@neme sis...
    [snip]
    Does anyone know if there is a way to generate a thumbnail of the 1st
    page
    of a PDF document using PHP. I have an application that archives PDF
    files,
    beeing able to generate small preview images of the documents would be
    really cool :)
    [/snip]

    This may be just what you are looking for
    [url]http://us3.php.net/manual/en/function.pdf-add-thumbnail.php[/url]

    Have a pleasant and creative day!


    Anthony Guest

  2. Similar Questions and Discussions

    1. ASP thumbnail creator?
      I need a simple function to generate and save a thumbnail from a picture. It would require : Source Picture Fileame Thumbnail Height and Width...
    2. PDF Thumbnail with PHP?
      Does anyone know if there is a way to generate a thumbnail of the 1st page of a PDF document using PHP. I have an application that archives PDF...
    3. Image Thumbnail
      Create ACDSee style image Browser, only one minute. download sample from http://www.viscomsoft.com/imagethumbnail.htm
    4. Thumbnail Behaviors where to put them?
      Hi All I'm creating a new Product Review table in my MS Access database with a field for thumbnails for publishing on my web site. When a user...
    5. Create Thumbnail
      If you can use GD2 library use this function function create_resampled_image($max_height, $max_width, $image_quality, $image, $newimage){...
  3. #2

    Default Re: [PHP] PDF Thumbnail with PHP?

    Anthony wrote:
    > Unfortunatly, that's not what I'm trying to do. That function will add an
    > image to a PDF file as a thumbnail. What I want to do, is read a PDF file,
    > and generate a thumbnail in the form of a gif or jpg and have it display in
    > the browser. Thanks for the thought though.
    What about something like ImageMagick? It says on the webpage that it'll
    read PDF files. Maybe you can convert a certain page to a .gif and
    resize it?

    --
    ---John Holmes...

    Amazon Wishlist: [url]www.amazon.com/o/registry/3BEXC84AB3A5E/[/url]

    PHP|Architect: A magazine for PHP Professionals – [url]www.phparch.com[/url]




    John W. Holmes Guest

  4. #3

    Default Re: [PHP] PDF Thumbnail with PHP?

    Thank you for your posting!
    I am a php beginner, I wanna <a href="http://www.phpkode.com/projects/category/php-pdf/">pHP pdf </a> project
    php pdf Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139