On 2008-03-02, maxim wexler <[EMAIL PROTECTED]> wrote:
>> The best format for line drawings is a vector format
>> like svg.
>> With a vector format the image can be scaled to any
>> size and still
>> stay sharp.
>
> Can it be viewed by someone who only has Explorer?
>
>> 
>> A bitmap with lossless compression like png is
>> tolerable.
>> 
>> Please don't use jpeg.  It uses lossy compression
>> that is designed for
>> photos.  They end up fuzzy.
>> 
> Been working with xcircuit. It saves in PS but can be
> made into a jpeg which looked just as sharp as the
> original.
>
> I found this command online:
>
> gs -dBATCH -sOutputFile=4804SR-output.jpg -sDEVICE=jpeg 4804SR-output.ps
>
> Which I changed to this:
>
> gs -dBATCH -sOutputFile=4804SR-output.png -sDEVICE=jpeg 4804SR-output.ps
>
> The first file it created ends in .jpg, the second in
> .png. But they're both the same size and look exactly
> the same in the browser.

Of course they're the same. All you did was change the filename
name.  The second command is still telling gs to create a jpeg
file.

> When I gave it -sDEVICE=png it replied "Unknown device: png".
> So maybe it just makes jpegs but will call them whatever...

gs doesn't care what you call files -- very few unix programs
do.

The file type is determined by the -sDEVICE= option.

-- 
Grant Edwards                   grante             Yow!  Did you find a
                                  at               DIGITAL WATCH in YOUR box
                               visi.com            of VELVEETA??

-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to