[Tioga-users] converting to PNG?
Sergey Astanin
astanin at calvino.polito.it
Tue Sep 11 04:34:39 EDT 2007
Tue, 11 Sep 2007 01:49:06 +0000, "Taro Sato" <nomo17k at gmail.com>:
> (I'm sorry I've already asked this to Bill)
>
> Does anyone out there know a good (command-line) tool to do the PDF ->
> PNG conversion? Vincent might know, since Ctioga web site has a lot
> of nicely anti-aliased PNG images presumably converted from PDF
> directly?
>
> I'm preparing tutorials/references for the python version now, to be
> put on the web soon...
I use `convert' tool from ImageMagick to convert tioga-generated PDFs to
raster web formats, e.g.
$ convert -quality 90 -density 128 -crop 640x480+0+80 file.pdf file.jpg
The same for PNG or anything, just change the extension of the output
file. You might wish to play with -density and -crop parameters
to adjust them according to your needs.
--
Sergey Astanin
E-mail: sergey.astanin at polito.it
GoogleTalk/Jabber: s.astanin at gmail.com
Tel.: +39 011 564 7558
Dipartimento di Matematica
Politecnico di Torino
More information about the Tioga-users
mailing list