823 |
|
po = addarg(po, "-1 -e"); |
824 |
|
po = addarg(po, vval(EXPOSURE)); |
825 |
|
} |
826 |
< |
if (vscale(QUALITY) == HIGH) |
827 |
< |
po = addarg(po, "-r .65"); |
826 |
> |
switch (vscale(QUALITY)) { |
827 |
> |
case MEDIUM: |
828 |
> |
po = addarg(po, "-r 1"); |
829 |
> |
break; |
830 |
> |
case HIGH: |
831 |
> |
po = addarg(po, "-m .15"); |
832 |
> |
break; |
833 |
> |
} |
834 |
|
if (vdef(PFILT)) |
835 |
|
po = addarg(po, vval(PFILT)); |
836 |
|
} |
1026 |
|
char pfopts[128]; |
1027 |
|
char vs[32], *vw; |
1028 |
|
int vn, mult; |
1029 |
+ |
long lastdate; |
1030 |
|
/* get pfilt options */ |
1031 |
|
pfiltopts(pfopts); |
1032 |
|
/* get resolution, reporting */ |
1057 |
|
else |
1058 |
|
badvalue(REPORT); |
1059 |
|
} |
1060 |
+ |
/* get update time */ |
1061 |
+ |
lastdate = octreedate > matdate ? octreedate : matdate; |
1062 |
|
/* do each view */ |
1063 |
|
vn = 0; |
1064 |
|
while ((vw = getview(vn++, vs)) != NULL) { |
1066 |
|
sprintf(vs, "%d", vn); |
1067 |
|
sprintf(picfile, "%s_%s.pic", vval(PICTURE), vs); |
1068 |
|
/* check date on picture */ |
1069 |
< |
if (fdate(picfile) >= octreedate) |
1069 |
> |
if (fdate(picfile) >= lastdate) |
1070 |
|
continue; |
1071 |
|
/* build rpict command */ |
1072 |
|
sprintf(rawfile, "%s_%s.raw", vval(PICTURE), vs); |