On 16 March 2017 at 10:27, Rick Strong <[email protected]> wrote: > However GIMP defines it relative to the coordinates of the given box, I > guess. I could script it in PageMaker, Corel Draw, InDesign, and MS Word. > > What is the current scripting system in GIMP?
thre are two - GIMP cna use both scheme or Python - and the calls can't get much simpler - they just require information. Since both are full featured langauges that allow you to define functions, you can inside your script, define a function that will render the required text on a given layer, position it at a fixed porportional heihgt, and center it on the image using nothing but simple arithmetic and GIMP provided API. (And also, load several images from a folder, open a text file, and match the text to the image based on name, or whatever you want to do). > > Rick S. > > -----Original Message----- From: Ofnuts > Sent: Thursday, March 16, 2017 2:20 AM > To: [email protected] > Subject: Re: [Gimp-user] How to input multiple lines of text onto seperate > photos > > > On 16/03/17 05:18, Rick Strong wrote: >> >> Yes, it would be nice if GIMP had simple a scripting language. >> I.E. "Get text from here. >> "Format it. >> "Place it here. > > > The devils is in the details... In "place it here": > > what is "it": the center? a corner (which)? the baseline? the > middle of the uppercase characters? > and what is "here"? Absolute coordinates? The center of the > picture? A corner? Relative to the whole image or to a specific layer? > > By the time you have covered most use cases, you have something like the > current script system... > > > _______________________________________________ > gimp-user-list mailing list > List address: [email protected] > List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list > List archives: https://mail.gnome.org/archives/gimp-user-list > _______________________________________________ > gimp-user-list mailing list > List address: [email protected] > List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list > List archives: https://mail.gnome.org/archives/gimp-user-list _______________________________________________ gimp-user-list mailing list List address: [email protected] List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list
