Sign up now! · Forgot password?
RSS/Atom feed Twitter

set_offset using pastEE image center?

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

1 of 1 message available
Toggle history

Please log in to manage your subscriptions.

set_offset using pastEE image center? As Signed 17 Apr 02:04
As Signed
2002-04-17 02:04:45 UTC (over 19 years ago)

set_offset using pastEE image center?

When using perl scripted commands such as

$throwaway2 = $background->edit_paste(0); $throwaway2->set_offsets(290,345); $throwaway2->anchor;

.. is there a way to have image placement be center-based, like when one can set where the move-handle is with a brush in some other progs?

The paste will go into center if no offset is given, but what I need is the pasted image to be centered on the given co-ordinates.

I can do a bit by reducing x & y by 1/2 the image size but it's a pain and isn't exactly accurate with lopsided host and pasted images.

TIA
k02f@videotron.ca