>It was a 5 minute fix, the entire resolution handling was already >there, just not connected to the image: > >commit 3508079dcf3dfbfc337f838f9771681d661f009e >Author: Michael Natterer <mi...@gimp.org> >Date: Fri Nov 1 13:51:31 2013 +0100 > > plug-ins: add loading and saving of the image's resolution in >file-pcx > > plug-ins/common/file-pcx.c | 20 ++++++++++++++++++-- > 1 file changed, 18 insertions(+), 2 deletions(-)
**************************** ************** Thank you Michael, I see your changes: - pcx_header.hdpi = GUINT16_TO_LE (300); - pcx_header.vdpi = GUINT16_TO_LE (300); + gimp_image_get_resolution (image, &resolution_x, &resolution_y); + + pcx_header.hdpi = GUINT16_TO_LE (RINT (MAX (resolution_x, 1.0))); + pcx_header.vdpi = GUINT16_TO_LE (RINT (MAX (resolution_y, 1.0))); -- Jenny_222 (via www.gimpusers.com/forums) _______________________________________________ gimp-user-list mailing list List address: gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list