Center Layer

This script simply allows to center a layer on the image canvas. You can choose to center it horizontally, vertically or both.

AttachmentSize
center_layer.py1.24 KB

Comments

BTW, what's the difference

BTW, what's the difference of this plug-in compared to the align tool?

Anonymous

I feel dumb. What version was this tool added?

GIMP 2.4

GIMP 2.4

installing .py

Oh this is excellent! Couldn't figure out how to center one layer on other layers. But... and this may be silly... what do I do with a .py file? I stuck it in my plug-ins directory but that's as far as I've gotten. I assume this is a Python file... Thanks, Mary P.

Installing the plugin

After copying the script to your plug-ins dir execute chmod +x center_layer.py in a shell and restart GIMP. That's about it. After successful installation you get an extra menu to the main window(Not the toolbox or Layers, etc) with the name Python-Fu and Center Layer as a menu item. Works perfectly on Fedora 10/GIMP 2.6 Thank you for the excellent plug-in :)

Anonymous

Ok... sure. And for Windows ?

Anonymous

And why the hell did the developers exclude such simple, effective and U S E F U L option ?

is not excluded...zoom out

is not fully excluded ...zoom out paste the new layer and will be automatically centered you may use gimp bugzilla for enhancement request. For some reason often are the most simple options to be more easily overlooked even if are useful PS For windows a similar script is included in the FX-Foundry pack (" FX-Foundry Sourceforge" ask google for exact link)

Anonymous

Sorry, I meant to say "<Ctrl><X> + <Ctrl><V>" instead of " + ". It removed the less/greater than signs

Anonymous

Okay, so this plug-in doesn't work for Windows? I was looking for this script so I could center my text layers with out having to + (this will, of course, turn it in to an uneditable layer).
Syndicate content