Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adrianbj/processpdfimagecreator
ProcessWire module to automatically generate images from all the pages of an uploaded PDF
https://github.com/adrianbj/processpdfimagecreator
generator image pdf processwire thumbnail
Last synced: 5 days ago
JSON representation
ProcessWire module to automatically generate images from all the pages of an uploaded PDF
- Host: GitHub
- URL: https://github.com/adrianbj/processpdfimagecreator
- Owner: adrianbj
- License: gpl-2.0
- Created: 2013-09-02T16:54:26.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2021-01-23T16:49:42.000Z (almost 4 years ago)
- Last Synced: 2024-05-02T00:35:22.018Z (7 months ago)
- Topics: generator, image, pdf, processwire, thumbnail
- Size: 16.6 KB
- Stars: 8
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ProcessPDFImageCreator
ProcessWire module to automatically generate images from all the pages of an uploaded PDF
## Usage
Create an multiple images field called "pdf_images"
Create a files field called "document_pdf"When you upload a PDF to a page with a template that contains both these fields and save the page, an image will be created and stored for each page of the PDF.
WARNING: the generation process can be quite slow - up to a few minutes if the PDF has 10s to 100s of pages.
## How to install
Your server must have imagemagick, ghostscript, and the imagick pecl extension installed
Download and place the module folder named "ProcessPDFImageCreator" in: /site/modules/
In the admin control panel, go to Modules. At the bottom of the screen, click the "Check for New Modules" button.
Now scroll to the ProcessPDFImageCreator module and click "Install".
## ToDo
Add a spinner to indicate that the images are being generated, or hook into the file upload process and start the image generation immediately after upload has completed and show a new bar with the progress of image generation.
## Support forum
http://processwire.com/talk/topic/3304-pdf-image-generator/## License
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.(See included LICENSE file for full license text.)