[Gimp-user] Increasing DPI of image
David Gowers
00ai99 at gmail.com
Mon Nov 17 15:10:00 PST 2008
Hi,
On Tue, Nov 18, 2008 at 1:24 AM, Dotan Cohen <dotancohen at gmail.com> wrote:
> 2008/11/17 David Gowers <00ai99 at gmail.com>:
> That is actually what I had done, David, however I figured that it was
> worth asking if there is a better way in Gimp. Lots of people smarter
Well, you could create a script which only requires you to specify
target DPI, and it would then read the current DPI, calculate the
scaling factor from that vs target DPI, scale the image, and finally
set the DPI.
gimp-image-(set|get)-resolution,
gimp-image-scale (or scale-full) would be the PDB calls you'd need for this.
David
More information about the Gimp-user
mailing list