9 |
|
set conv(TIFF-24,nam) "TIFF 24-bit" |
10 |
|
set conv(TIFF-24,com) "ra_tiff %s %s" |
11 |
|
set conv(TIFF-24,suf) .tif |
12 |
+ |
set conv(TIFF-Luv,nam) "TIFF LogLuv" |
13 |
+ |
set conv(TIFF-Luv,com) "ra_tiff -L %s %s" |
14 |
+ |
set conv(TIFF-Luv,suf) .tif |
15 |
|
set conv(GIF-bw,nam) "GIF B&W" |
16 |
|
set conv(GIF-bw,com) "ra_gif -b %s %s" |
17 |
|
set conv(GIF-bw,suf) .gif |
24 |
|
set conv(PPM-asc,nam) "PPM (ASCII)" |
25 |
|
set conv(PPM-asc,com) "ra_ppm -a %s %s" |
26 |
|
set conv(PPM-asc,suf) .ppm |
27 |
+ |
set conv(BMP-bw,nam) "BMP B&W" |
28 |
+ |
set conv(BMP-bw,com) "ra_bmp -b %s %s" |
29 |
+ |
set conv(BMP-bw,suf) .bmp |
30 |
+ |
set conv(BMP-clr,nam) "BMP Color" |
31 |
+ |
set conv(BMP-clr,com) "ra_bmp %s %s" |
32 |
+ |
set conv(BMP-clr,suf) .bmp |
33 |
|
set conv(PICT,nam) "PICT 32-bit" |
34 |
|
set conv(PICT,com) "ra_pict -g 1.8 %s %s" |
35 |
|
set conv(PICT,suf) .pict |
27 |
– |
set conv(ras-bw,nam) "Sun B&W" |
28 |
– |
set conv(ras-bw,com) "ra_pr -b %s %s" |
29 |
– |
set conv(ras-bw,suf) .ras |
30 |
– |
set conv(ras-8,nam) "Sun 8-bit" |
31 |
– |
set conv(ras-8,com) "ra_pr %s %s" |
32 |
– |
set conv(ras-8,suf) .ras |
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-bw,nam) "PostScript B&W" |
37 |
|
set conv(PS-bw,com) "ra_ps -b -C %s %s" |
38 |
|
set conv(PS-bw,suf) .ps |
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-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} |
54 |
> |
set conv(types) {GIF-bw GIF-8 PICT PS-bw PS-clr BMP-bw BMP-clr PPM-asc\ |
55 |
> |
PPM-bin 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 |
69 |
|
foreach vw $radvar(view) { |
70 |
|
if [file isfile ${rawfroot}_[lindex $vw 0].unf] { |
71 |
|
lappend ufpics [lindex $vw 0] |
72 |
< |
} elseif {[file isfile $radvar(PICTURE)_[lindex $vw 0].pic]} { |
72 |
> |
} elseif {[file isfile $radvar(PICTURE)_[lindex $vw 0].hdr]} { |
73 |
|
lappend fpics [lindex $vw 0] |
74 |
|
} |
75 |
|
} |
102 |
|
global fvwbox ufvwbox radvar rawfroot |
103 |
|
set sl {} |
104 |
|
foreach i [$fvwbox curselection] { |
105 |
< |
testappend sl $radvar(PICTURE)_[$fvwbox get $i].pic |
105 |
> |
testappend sl $radvar(PICTURE)_[$fvwbox get $i].hdr |
106 |
|
if {$getall && $rawfroot != $radvar(PICTURE)} { |
107 |
< |
testappend sl ${rawfroot}_[$fvwbox get $i].pic |
107 |
> |
testappend sl ${rawfroot}_[$fvwbox get $i].hdr |
108 |
|
} |
109 |
|
if {$getall && $radvar(ZFILE) != {}} { |
110 |
|
testappend sl $radvar(ZFILE)_[$fvwbox get $i].zbf |
151 |
|
set curmess "No finished pictures selected." |
152 |
|
foreach i [$fvwbox curselection] { |
153 |
|
set vw [$fvwbox get $i] |
154 |
< |
set p $radvar(PICTURE)_$vw.pic |
154 |
> |
set p $radvar(PICTURE)_$vw.hdr |
155 |
|
set df [format $convdest $vw] |
156 |
|
set curmess "Converting $p to $df..." |
157 |
|
update |
166 |
|
global curmess prntcom radvar fvwbox |
167 |
|
set curmess "No finished pictures selected." |
168 |
|
foreach i [$fvwbox curselection] { |
169 |
< |
set p $radvar(PICTURE)_[$fvwbox get $i].pic |
169 |
> |
set p $radvar(PICTURE)_[$fvwbox get $i].hdr |
170 |
|
set curmess "Printing $p..." |
171 |
|
update |
172 |
|
set pc [format $prntcom $p] |