|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I was wondering if anyone knew of some php code that I could use to create
thumbnails of webpages. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
http://www.justfuckinggoogleit.com/search?query="php+thumbnail+create"
-- If at first you dont succeed try try try again If at first you do succeed try not to look surprised _ ""timothy johnson"" <mr2bigjohnson@gmail.com> wrote in message news:3767b850709071356l7d62c7efv675f49c91afaa760@m ail.gmail.com... > I was wondering if anyone knew of some php code that I could use to create > thumbnails of webpages. > |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Imagick PHP extension, easiest, or Imagemagick command line using exec().
Imagick to read a pdf and output it as a jpeg: header('Content-type: image/jpeg'); $obj = new Imagick('xxxxx.pdf'); $obj->SetImageFormat('jpeg'); echo $obj; Your want to use montage, resizing and write the result to a file, etc. timothy johnson wrote: > I was wondering if anyone knew of some php code that I could use to create > thumbnails of webpages. > |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
This one time, at band camp, Al <news@ridersite.org> wrote:
The Imagick php extension is at RC2 and like all beta ware, should not be considered for a production environment. > Imagick PHP extension, easiest, or Imagemagick command line using exec(). > > Imagick to read a pdf and output it as a jpeg: > > header('Content-type: image/jpeg'); > $obj = new Imagick('xxxxx.pdf'); > $obj->SetImageFormat('jpeg'); > echo $obj; > > Your want to use montage, resizing and write the result to a file, etc. -- "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote." |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
Like I said "... or Imagemagick command line using exec()." It's been a stable
release for years. Kevin Waterson wrote: > This one time, at band camp, Al <news@ridersite.org> wrote: > The Imagick php extension is at RC2 and like all beta ware, > should not be considered for a production environment. > > >> Imagick PHP extension, easiest, or Imagemagick command line using exec(). >> >> Imagick to read a pdf and output it as a jpeg: >> >> header('Content-type: image/jpeg'); >> $obj = new Imagick('xxxxx.pdf'); >> $obj->SetImageFormat('jpeg'); >> echo $obj; >> >> Your want to use montage, resizing and write the result to a file, etc. > > > |
|
![]() |
| Outils de la discussion | |
|
|