Search found 2 matches

by jmto
2018-12-13T02:13:50-07:00
Forum: Users
Topic: Generathing PNG thumb from PDF without temporarily file (output format, fd:X, errors)
Replies: 1
Views: 3894

Re: Generathing PNG thumb from PDF without temporarily file (output format, fd:X, errors)

So I found to solutions.

#1 The bad one.
Use gif format, gif:fd:42 seems to work with my convert version. GIF is so 90's, so just no.

#2 The better one.
Use stdout, png:-, but edit delegates.xml to contain -sstdout=/dev/null for ghostscript.

sudo perl -pi -e 's#-q -dQUIET#-q -sstdout=/dev/null ...
by jmto
2018-12-12T05:30:34-07:00
Forum: Users
Topic: Generathing PNG thumb from PDF without temporarily file (output format, fd:X, errors)
Replies: 1
Views: 3894

Generathing PNG thumb from PDF without temporarily file (output format, fd:X, errors)

Hi,

I'm puzzled how one should be able to that. I've tried many ways and always there is something weird.
Let's start with the obvious:
https://imagemagick.org/script/command-line-processing.php
When needed, explicit image formats can be given as mentioned earlier, as in the following.
magick gif ...