Re: gs での ppmraw への変換の問題

名前: 達
日時: 2010-01-20 15:24:28
IPアドレス: 125.30.69.*

>>54389 gs の問題ではなく、tgif の出力する postscript コードの問題ではありませんか。 斜線による領域の塗り潰しは、たとえば次のようになっています。 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% /tgifpatdict 12 dict def /tgifpatbyte { currentdict /retstr get exch bytesperrow mul pat i cellh mod bytesperrow mul bytesperrow getinterval putinterval } def /tgifpatproc { 0 1 cells_wd 1 sub {tgifpatbyte} for retstr /i i 1 add def } def /TGPF % tgifpatfill { tgifpatdict begin /h exch def /w exch def /lty exch def /ltx exch def /cellh exch def /cellw exch def /pat exch def /cells_wd w cellw div cvi def /bytesperrow cellw 8 div ceiling cvi def /retstr cells_wd bytesperrow mul string def /i 0 def tgiforigctm setmatrix ltx lty translate w h true [1 0 0 1 0 0] {tgifpatproc} imagemask ltx neg lty neg translate end } def /pat20 <8040201008040201> def /tgiforigctm matrix currentmatrix def pat20 8 8 -8 -8 600 840 TGPF %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます。適宜改行を入れてください)