Re: Need a script to output position of images within image.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, May 30, 2012 at 7:44 PM, stephen <forums@xxxxxxxxxxxxx> wrote:
> I created a jigsaw puzzle from an image.  All the pieces exist in different layer.
>
> Is there a way to get the position of the pieces (a script or a menu command)?  I realize I could use the ruler, however, I would like something that would be more exact and less tedious.

With only one image open, from the python-fu console:

img = gimp.image_list()[0]

for layer in img.layers:
    print layer.name, layer.offsets

Chris
_______________________________________________
gimp-user-list mailing list
gimp-user-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gimp-user-list



[Gimp Announce]     [Gimp Images]     [GIMP Development]     [Video For Linux]     [Photo]     [Yosemite News]    [Yosemite Photos]    [gtk]     [KDE]     [Scanner]     [Gimp's Home]     [Gimp Docs]     [Gimp on Windows]     [Steve's Art]     [Webcams]     [Share Your Images]     [Free Online Dating]     [Photo Site]     [Script Fu]     [GIMP Software]     [GIMP Books]

Barnes&Noble.com

Add to Google Follow Gimp on Twitter