Gentoo Archives: gentoo-user

From: Willie Wong <wwong@×××××××××.EDU>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] best circuit drawing software
Date: Sun, 02 Mar 2008 21:56:52
Message-Id: 20080302215659.GA2966@princeton.edu
In Reply to: Re: [gentoo-user] best circuit drawing software by maxim wexler
1 On Sun, Mar 02, 2008 at 01:20:27PM -0800, Penguin Lover maxim wexler squawked:
2 > Been working with xcircuit. It saves in PS but can be
3 > made into a jpeg which looked just as sharp as the
4 > original.
5 >
6 > I found this command online:
7 >
8 > gs -dBATCH -sOutputFile=4804SR-output.jpg
9 > -sDEVICE=jpeg 4804SR-output.ps
10 >
11 > Which I changed to this:
12 >
13 > gs -dBATCH -sOutputFile=4804SR-output.png
14 > -sDEVICE=jpeg 4804SR-output.ps
15 >
16 > The first file it created ends in .jpg, the second in
17 > .png. But they're both the same size and look exactly
18 > the same in the browser. When I gave it -sDEVICE=png
19 > it replied "Unknown device: png". So maybe it just
20 > makes jpegs but will call them whatever...
21
22 Yes, it does just that: creates a jpg file with a .png extension.
23
24 To make png files, you can try imagemagick (make sure to install it
25 with the gs flag)
26
27 W
28 --
29 "Problems done right, which is not always the case, usually contain a clue."
30 ~DeathMech, S. Sondhi. P-town PHY 205
31 Sortir en Pantoufles: up 450 days, 20:27
32 --
33 gentoo-user@l.g.o mailing list