Re: Windows and Imaxima.
- Subject: Re: Windows and Imaxima.
- From: Mike Thomas
- Date: Thu, 1 Jul 2004 09:49:58 +1000
Hi Jesper.
Thanks for that.
| It isn't particularly simple -- but you could start gs with these
| parameters:
|
| -q -dNOPAUSE -dSAFER -dDELAYSAFER -DNOPLATFONTS -dTextAlphaBits=4
| -dGraphicsAlphaBits=4 -sDEVICE=png16m
|
| and type this:
|
| clear << /OutputFile (1) >> setpagedevice [save] (1.ps) (r) file cvx
| systemdict /.runandhide known revision 700 ge and {.setsafe
| {.runandhide}} if
| stopped {handleerror quit} if count 1 ne {quit} if cleardictstack
| 0 get restore
|
| to convert '1.ps' to the PNG file '1'.
C:\DOCUME~1\miketh\LOCALS~1\Temp\imaxima32526ri>c:\lang\gs\gs7.00\bin\gs.exe
-q -dNOPAUSE -dSAFER -dDELAYSAFER -DNOPLAT
FONTS -sDEVICE=png16m
GS>clear << /OutputFile (1) >> setpagedevice [save] (1.ps) (r) file cvx
Error: /undefined in lear
Operand stack:
Execution stack:
%interp_exit
.runexec2 --nostringval-- --nostringval-- --nostringval-- 2
%stopped_push --nostringval--
--nostringval-- %loop_continue 2 3
%oparray_pop --nostringval-- --nostringval-- false 1 %stopped_pus
h .runexec2 --nostringval-- --nostringval-- --nostringval-- 2
%stopped_push --nostringval-- --nostringva
l-- --nostringval--
Dictionary stack:
--dict:994/1123(ro)(G)-- --dict:0/20(G)-- --dict:66/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
Current file position is 6
GS>systemdict /.runandhide known revision 700 ge and {.setsafe
{.runandhide}} if
Error: /undefined in ystemdict
Operand stack:
Execution stack:
%interp_exit
.runexec2 --nostringval-- --nostringval-- --nostringval-- 2
%stopped_push --nostringval--
--nostringval-- %loop_continue 2 3
%oparray_pop --nostringval-- --nostringval-- false 1 %stopped_pus
h .runexec2 --nostringval-- --nostringval-- --nostringval-- 2
%stopped_push --nostringval-- --nostringva
l-- --nostringval--
Dictionary stack:
--dict:994/1123(ro)(G)-- --dict:0/20(G)-- --dict:66/200(L)--
Current allocation mode is local
Current file position is 11
GS>stopped {handleerror quit} if count 1 ne {quit} if cleardictstack 0 get
restore
Error: /undefined in ftopped
Operand stack:
Execution stack:
%interp_exit
.runexec2 --nostringval-- --nostringval-- --nostringval-- 2
%stopped_push --nostringval--
--nostringval-- %loop_continue 2 3
%oparray_pop --nostringval-- --nostringval-- false 1 %stopped_pus
h .runexec2 --nostringval-- --nostringval-- --nostringval-- 2
%stopped_push --nostringval-- --nostringva
l-- --nostringval--
Dictionary stack:
--dict:994/1123(ro)(G)-- --dict:0/20(G)-- --dict:66/200(L)--
Current allocation mode is local
Current file position is 8
GS>