Search found 4 matches

by chadcf
2014-01-16T21:00:01-07:00
Forum: Users
Topic: Efficiently generating thumbnails of a pdf in php
Replies: 4
Views: 12645

Re: Efficiently generating thumbnails of a pdf in php

Yes, that's another option. We currently do it that way, however like I said the problem we are running into is that at high load it's thrashing the server. Our metrics indicate the system calls to imagemagick are by far the most expensive part of our app. However, the person who wrote it did it in ...
by chadcf
2014-01-16T17:38:39-07:00
Forum: Users
Topic: Efficiently generating thumbnails of a pdf in php
Replies: 4
Views: 12645

Efficiently generating thumbnails of a pdf in php

Hi all, We have some legacy code that generates a pdf preview by converting the pdf to 250px png thumbnails of each page (so 10 thumbnails for a 10 page pdf). This has been thrashing our server royally as load has grown, because the original developer did the thumbnails by writing the source pdf to ...
by chadcf
2013-04-26T11:22:45-07:00
Forum: Users
Topic: Converting large number of tifs to pdf efficiently?
Replies: 4
Views: 6120

Re: Converting large number of tifs to pdf efficiently?

Yeah I gave that a shot with a limit of 128 and that ended up segfaulting and filling up the disk.
by chadcf
2013-04-26T09:14:40-07:00
Forum: Users
Topic: Converting large number of tifs to pdf efficiently?
Replies: 4
Views: 6120

Converting large number of tifs to pdf efficiently?

We have a project that requires us to take an uploaded zip file and convert the 100+ tifs and pdfs inside to a single pdf document. I've written a simple shell script to do this and it works fine, except that it completely thrashes the machine and has locked up one of our production servers on ...