mirror of https://github.com/GNOME/gimp.git
More conservative resolution behaviour in loading PNGs
This commit is contained in:
parent
b58e4f0ded
commit
da57754eb5
|
@ -1,3 +1,7 @@
|
|||
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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue