2008/11/18 David Gowers <[EMAIL PROTECTED]>:
> Hi,
>
> On Tue, Nov 18, 2008 at 1:24 AM, Dotan Cohen <[EMAIL PROTECTED]> wrote:
>> 2008/11/17 David Gowers <[EMAIL PROTECTED]>:
>> 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.
>

Thanks. I'm only working on one image, but it is good to know for the
future if I run into this again.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

ä-ö-ü-ß-Ä-Ö-Ü
_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply via email to