| Re: plotting graphics for web pages [message #60496 is a reply to message #60248] |
Tue, 20 May 2008 13:59   |
Paul Van Delst[1]
Messages: 1157 Registered: April 2002
|
Senior Member |
|
|
David Fanning wrote:
> pgrigis@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
Very nice! I've never used the density option in IM - all the numbers in the third plot
are readable.
Schweet.
cheers,
paulv
|
|
|
|