| Re: plotting graphics for web pages [message #60495 is a reply to message #60248] |
Tue, 20 May 2008 14:04   |
Vince Hradil
Messages: 574 Registered: December 1999
|
Senior Member |
|
|
On May 20, 3:29 pm, David Fanning <n...@dfanning.com> wrote:
> pgri...@gmail.com writes:
>> I should have specified that this is an integer number
>> specifying the width in pixel. Try 600, 800 or 1024.
>> If you give one number, it is the xsize,
>> and ysize is scaled automatically. Otherwise, you can
>> also specify something like 800x600
>
> The command line I tried is this:
>
> convert -density 300 file.ps -resize 25% file.png
>
> This gave me a PNG file of the size I was looking for.
> Again, it is higher resolution, but is larger in size.
> I've included all three files now in the article.
> The first file is 15K, the second is 79K, and the
> third, with the command above, is 162K. Still not
> bad, but it is eating disk space as we speak. :-)
>
> http://www.dfanning.com/graphics_tips/weboutput.html
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Have you tried the -quality flag?
http://www.imagemagick.org/script/command-line-options.php#q uality
|
|
|
|