| 33 |  | set conv(ras-24,nam)    "Sun 24-bit" | 
| 34 |  | set conv(ras-24,com)    "ra_pr24 %s %s" | 
| 35 |  | set conv(ras-24,suf)    .ras | 
| 36 | < | set conv(PS,nam)        "PostScript B&W" | 
| 37 | < | set conv(PS,com)        "ra_ps %s %s" | 
| 38 | < | set conv(PS,suf)        .ps | 
| 36 | > | set conv(PS-bw,nam)     "PostScript B&W" | 
| 37 | > | set conv(PS-bw,com)     "ra_ps -b -C %s %s" | 
| 38 | > | set conv(PS-bw,suf)     .ps | 
| 39 | > | set conv(PS-clr,nam)    "PostScript Color" | 
| 40 | > | set conv(PS-clr,com)    "ra_ps -c -C %s %s" | 
| 41 | > | set conv(PS-clr,suf)    .ps | 
| 42 |  | set conv(tga-bw,nam)    "Targa B&W" | 
| 43 |  | set conv(tga-bw,com)    "ra_t8 -b %s %s" | 
| 44 |  | set conv(tga-bw,suf)    .tga | 
| 51 |  | set conv(tga-24,nam)    "Targa 24-bit" | 
| 52 |  | set conv(tga-24,com)    "ra_t16 -3 %s %s" | 
| 53 |  | set conv(tga-24,suf)    .tga | 
| 54 | < | set conv(types) {GIF-bw GIF-8 PICT PS PPM-asc PPM-bin ras-bw ras-8 ras-24\ | 
| 55 | < | tga-bw tga-8 tga-16 tga-24 TIFF-bw TIFF-24} | 
| 54 | > | set conv(types) {GIF-bw GIF-8 PICT PS-bw PS-clr PPM-asc PPM-bin ras-bw ras-8\ | 
| 55 | > | ras-24 tga-bw tga-8 tga-16 tga-24 TIFF-bw TIFF-24} | 
| 56 |  | set conv(typ) tga-24 | 
| 57 |  |  | 
| 58 |  | proc testappend {flst tf} {     # test if tf exists and append to flst if so | 
| 234 |  | helplink $w.cnvb trad results convert | 
| 235 |  | menubutton $w.typb -text $conv($conv(typ),nam) -relief raised \ | 
| 236 |  | -menu $w.typb.m | 
| 237 | < | place $w.typb -relwidth .1786 -relheight .0610 -relx .2143 -rely .7317 | 
| 237 | > | place $w.typb -relwidth .1986 -relheight .0610 -relx .2143 -rely .7317 | 
| 238 |  | helplink $w.typb trad results convtype | 
| 239 |  | menu $w.typb.m | 
| 240 |  | foreach t $conv(types) { | 
| 244 |  | set convdest $radvar(PICTURE)_%s$conv($t,suf)" | 
| 245 |  | } | 
| 246 |  | label $w.fil -text File: | 
| 247 | < | place $w.fil -relx .4286 -rely .7317 | 
| 247 | > | place $w.fil -relx .4486 -rely .7317 | 
| 248 |  | set convdest $radvar(PICTURE)_%s$conv($conv(typ),suf) | 
| 249 |  | entry $w.file -textvariable convdest -relief sunken | 
| 250 | < | place $w.file -relwidth .4286 -relheight .0610 -relx .5000 -rely .7317 | 
| 250 | > | place $w.file -relwidth .4086 -relheight .0610 -relx .5200 -rely .7317 | 
| 251 |  | helplink $w.file trad results convfile | 
| 252 |  | # Print picture(s) | 
| 253 |  | button $w.prtb -text Print -relief raised -command prtpic |