Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
On Wednesday 14 March 2007 12:20 pm, Mike Miller wrote:
> I have a collection of PDF documents (actually issues of Scientific
> American) and each one has a cover page that I would like to export to a
> .jpg or .png file of a certain size. So is there an easy command to just
> convert the first page of a .pdf to a .jpg? It would be best if I can
> specify the dimensions in pixels, or at least one of the dimensions in
> pixels.
>
> Mike
For this purpose, I use Ghostscript. Here is a little shell script that
facilitates things. First, print to a PostScript file, then call gsconv
soandso.ps:
#!/bin/sh
echo Conversion of $1 to file plot.ppm
gs -sDEVICE=ppm -r300 -sOutputFile=~/plot.ppm $1
echo ...
echo GSCONV now loads gimp with the converted file - please wait
echo ...
gimp ~/plot.ppm &
There may be easier ways, but this has worked for me for some time.
Mark
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members