[NTG-context] PNG output

2007-07-12 Thread w . neimeijer
I want to convert my standalone formulas to PNG to display these formulas on my website. What I am doing is the following \starttext \startTEXpage \startformula e^{i x} = \cos x + i \sin x \stopformula \stopTEXpage \stoptext and process this via texexec --pdf to get a PDF file. I tried to

Re: [NTG-context] PNG output

2007-07-12 Thread zs
Try this: gs -sDEVICE=png16m -r200 -sOutputFile=formula.png -dBATCH -q -dNOPAUSE -dGraphicsAlphaBits=4 -dTextAlphaBits=4\ -dMaxBitmap=5000 formula.pdf You may play with -r parameter. You can also make a big picture and downsize it with proper interpolation. ZS On Thu, 12 Jul 2007

Re: [NTG-context] PNG output

2007-07-12 Thread George N. White III
On 7/12/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I want to convert my standalone formulas to PNG to display these formulas on my website. What I am doing is the following \starttext \startTEXpage \startformula e^{i x} = \cos x + i \sin x \stopformula \stopTEXpage \stoptext and

Re: [NTG-context] PNG output

2007-07-12 Thread George N. White III
On 7/12/07, zs [EMAIL PROTECTED] wrote: Try this: gs -sDEVICE=png16m -r200 -sOutputFile=formula.png -dBATCH -q -dNOPAUSE -dGraphicsAlphaBits=4 -dTextAlphaBits=4\ -dMaxBitmap=5000 formula.pdf You may play with -r parameter. You can also make a big picture and downsize it with proper

Re: [NTG-context] PNG output

2007-07-12 Thread w . neimeijer
Are you using the current version of gs? I am using gswin32c 8.53 on Windows What does not so good mean I just discovered the \startTEXpage \stopTEXpage to produce standalone PDF's for all my formulas. Then I took gswin32c to produce PNG's with gswin32c -dNOPAUSE -sDEVICE=png256

Re: [NTG-context] PNG output

2007-07-12 Thread Aditya Mahajan
On Thu, 12 Jul 2007, [EMAIL PROTECTED] wrote: I want to convert my standalone formulas to PNG to display these formulas on my website. What I am doing is the following \starttext \startTEXpage \startformula e^{i x} = \cos x + i \sin x \stopformula \stopTEXpage \stoptext and process