| Re: plotting graphics for web pages [message #60500 is a reply to message #60248] |
Tue, 20 May 2008 13:15   |
pgrigis
Messages: 436 Registered: September 2007
|
Senior Member |
|
|
pgri...@gmail.com wrote:
> David Fanning wrote:
>> pgrigis@gmail.com writes:
>>
>>> In any case, maybe this is a good time to point out that if one
>>> want a high resolution png image from the ps file, one should use
>>>
>>> convert -density 300 file.ps -resize npixel file.png
>>>
>>> To see why this is needed, convert any ps file with, say, 6 plots
>>> on it with & without the density option...
>>
>> Paolo,
>>
See also:
http://www.imagemagick.org/script/command-line-options.php#r esize
Paolo
> 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
>
> Ciao,
> Paolo
>
>
>> The npixel seems to be causing me grief. I presume this
>> is suppose to be some kind of number. What number did you
>> have in mind?
>>
>> 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.")
|
|
|
|