ez projects / snapshotpdf
| UNIX name | Owner | Status | Version | Compatible with |
|---|---|---|---|---|
| snapshotpdf | Felix Laate | stable | 0.2 | 3.7.x (and maybe others) |
1. Installation
---------------------
a) Install Ghostscript if not allready installed.
b) Follow these steps to add the SnapshotPDF datatype to your ezp
installation:
1) Extract the archive into the /extension directory
2) Activate in the admin interface
c) Configure the snapshot.ini.append.php file to specify where you want
the images to be saved. Don't forget chmod'ing :-)
2. Features
------------------
- grabs a page of a pdf and save it as a jpg
- returns the path of the jpg
3. Usage
--------------
ezsnapshotpdf(path_to_pdf_file,page_to_get_grabbed,width,height)
(width and height are optional)
This is an example of usage in a template:
Read
PDF
4. ToDo
-------------
- add resizing
- add adjustable quality (which at the time of writing is rather poor)
Changelog
Thursday 26 January 2006 21:56
Felix Laate