| Re: plotting graphics for web pages [message #60499 is a reply to message #60248] |
Tue, 20 May 2008 13:29   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
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
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.")
|
|
|
|