1 |
On 2008-03-02, maxim wexler <blissfix@×××××.com> wrote: |
2 |
>> The best format for line drawings is a vector format |
3 |
>> like svg. |
4 |
>> With a vector format the image can be scaled to any |
5 |
>> size and still |
6 |
>> stay sharp. |
7 |
> |
8 |
> Can it be viewed by someone who only has Explorer? |
9 |
> |
10 |
>> |
11 |
>> A bitmap with lossless compression like png is |
12 |
>> tolerable. |
13 |
>> |
14 |
>> Please don't use jpeg. It uses lossy compression |
15 |
>> that is designed for |
16 |
>> photos. They end up fuzzy. |
17 |
>> |
18 |
> Been working with xcircuit. It saves in PS but can be |
19 |
> made into a jpeg which looked just as sharp as the |
20 |
> original. |
21 |
> |
22 |
> I found this command online: |
23 |
> |
24 |
> gs -dBATCH -sOutputFile=4804SR-output.jpg -sDEVICE=jpeg 4804SR-output.ps |
25 |
> |
26 |
> Which I changed to this: |
27 |
> |
28 |
> gs -dBATCH -sOutputFile=4804SR-output.png -sDEVICE=jpeg 4804SR-output.ps |
29 |
> |
30 |
> The first file it created ends in .jpg, the second in |
31 |
> .png. But they're both the same size and look exactly |
32 |
> the same in the browser. |
33 |
|
34 |
Of course they're the same. All you did was change the filename |
35 |
name. The second command is still telling gs to create a jpeg |
36 |
file. |
37 |
|
38 |
> When I gave it -sDEVICE=png it replied "Unknown device: png". |
39 |
> So maybe it just makes jpegs but will call them whatever... |
40 |
|
41 |
gs doesn't care what you call files -- very few unix programs |
42 |
do. |
43 |
|
44 |
The file type is determined by the -sDEVICE= option. |
45 |
|
46 |
-- |
47 |
Grant Edwards grante Yow! Did you find a |
48 |
at DIGITAL WATCH in YOUR box |
49 |
visi.com of VELVEETA?? |
50 |
|
51 |
-- |
52 |
gentoo-user@l.g.o mailing list |