Small bug in frontend/preview.c

Manuel Panea (mpd@rzg.mpg.de)
Thu, 21 Jan 1999 11:17:50 +0100 (MET)

-----BEGIN PGP SIGNED MESSAGE-----

There seems to be a small bug in file ".../frontend/preview.c" whereby the
dpi of the preview image is not computed correctly (at least in some
cases). This causes preview images to be unnecessarily grainy. In this
file, line 1277 is:

width = gwidth*p->aspect;

but I think it should rather be:

width = height*p->aspect;

---------------------------------------------------------------------------
Manuel Panea || E-mail: mpd@rzg.mpg.de
Rechenzentrum Garching || http://www.rzg.mpg.de/~mpd
Postfach 1533 || Tel. +49 89 3299 1133
85740 Garching || Fax +49 89 3299 1301
Germany || Public PGP key: see homepage
---------------------------------------------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQCVAwUBNqb+1InxRMteJ3RRAQGyowP+P8oWNQ5Uhb3i9adWG1vAOVfJX6aLMZkz
9s2Z8mCCkw/UjByxDho+NpZ4StEMByd9vwgc+UwzWw8pp2SAR2z7qD2+kEHm7Ko2
f0MiV5+EP2H56h9UlmHrD6DnpXIghfCSFc30RoTlap77RMIBQUzuTmXRzGeEslnB
dV41E90bofA=
=KuXV
-----END PGP SIGNATURE-----

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com