Commit da57754e authored by Nick Lamb /GIMP's avatar Nick Lamb /GIMP
Browse files

More conservative resolution behaviour in loading PNGs

parent b58e4f0d
Sat Jan 29 22:32:30 GMT 2000 Nick Lamb <njl195@zepler.org.uk>
* plug-ins/common/png.c: More conservative resolution behaviour
Sat Jan 29 22:54:11 CET 2000 Stanislav Brabec <utx@penguin.cz>
 
* app/convert.c: Typo fix.
......
......@@ -58,7 +58,7 @@
* Constants...
*/
#define PLUG_IN_VERSION "1.1.10 - 8 Nov 1999"
#define PLUG_IN_VERSION "1.1.11 - 29 Jan 2000"
#define SCALE_WIDTH 125
#define DEFAULT_GAMMA 2.20
......@@ -524,8 +524,8 @@ load_image (gchar *filename) /* I - File to load */
((double) info->y_pixels_per_unit) * 0.0254);
else /* set aspect ratio as resolution */
gimp_image_set_resolution(image,
((double) info->x_pixels_per_unit),
((double) info->y_pixels_per_unit));
((double) info->x_pixels_per_unit) * 72.0,
((double) info->y_pixels_per_unit)i * 72.0);
}
#endif /* GIMP_HAVE_RESOLUTION_INFO */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment