Re: ImageMagick

Pavel Sanda <[email protected]>
Newsgroups gmane.editors.lyx.devel
Message-ID <[email protected]>
On Mon, May 11, 2026 at 06:31:57PM +0200, Jürgen Spitzmüller wrote:
> Am Montag, dem 11.05.2026 um 09:44 +0200 schrieb Pavel Sanda:
> > Which direction is more critical for you?
> 
> For the DVI cases, png->eps

a) oldschool: pngtopnm input.png | pnmtops -noturn > output.eps
b) canoon: gs -q -dNOPAUSE -dBATCH -sDEVICE=eps2write -sOutputFile=output.eps input.png
c) via pdf: img2pdf input.png -o temp.pdf && pdftops -eps temp.pdf output.eps

I didn't the output wrt margins etc.

Pavel
-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.