139 |
|
if (sscanf(s, "%s", buf) == 1) { /* get parameters from a file */ |
140 |
|
copyview(&nv, &stdview); |
141 |
|
if ((fname = getpath(buf, NULL, 0)) == NULL || |
142 |
< |
(success = viewfile(fname, &nv)) == -1) { |
142 |
> |
(success = viewfile(fname, &nv, 0, 0)) == -1) { |
143 |
|
sprintf(errmsg, "cannot open \"%s\"", buf); |
144 |
|
error(COMMAND, errmsg); |
145 |
|
return; |
607 |
|
putc('\n', fp); |
608 |
|
if (exposure != 1.0) |
609 |
|
fputexpos(exposure, fp); |
610 |
+ |
if (dev->pixaspect != 1.0) |
611 |
+ |
fputaspect(dev->pixaspect, fp); |
612 |
|
putc('\n', fp); |
613 |
|
fputresolu(YMAJOR|YDECR, hresolu, vresolu, fp); |
614 |
|
|