If you do it right you will find a new command in the "Layer" menu called "Move all layers.", launch it and a dialog will show up letting you to decide X and Y offsets. (script-fu-menu-register "dn-move-all-layers" "Move each layer by specified x,y offsets." (gimp-image-remove-channel orig-image orig-selection) (move-layer orig-image (car layers) x-os y-os) It is a freely distributed program for such tasks as photo retouching, image composition and image authoring. (set! layers (get-all-layers orig-image)) Image Editors GIMP Old versions GIMP 2.6.11 GIMP 2.6.11 Download Now GIMP is an acronym for GNU Image Manipulation Program. (set! orig-selection (car (gimp-selection-save orig-image))) (define (move-layer orig-image layer-id offset-x offset-y) (set! bottom-to-top (append bottom-to-top (cons (aref all-layers (- i 1)) '()))) (define (dn-move-all-layers orig-image drawable X and Y offset parameters must be provided (use integer numbers as values) The purpose of this script is to move all image layers by specified x,y offsets Command is installed in "Layer->Move all layers." GNU General Public License for more details. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. but WITHOUT ANY WARRANTY without even the implied warranty of This script is distributed in the hope that it will be useful, the Free Software Foundation either version 2 of the License, or it under the terms of the GNU General Public License as published by With following content: This script is free software you can redistribute it and/or modify To make it work you need to create a file in the Gimp script folder (some reference for this if you need it: or ) The "Edit Layer Attributes" dialog will show up and there you canĪs asked about it in its comment to my answer, I'm adding a script that will move ALL image layers by specified x,y offsets. There's a very convenient way to do this available since the Gimp v.2.10:ĭouble click on the layer you want to move (or right click on it If you want to follow this design principle specifying exact coordinates one by one becomes just a tedious labour. I think this is why gimp does not include a tool to specify the exact coordinates. Reducing the number of alignments (guides) helps you getting a cleaner design. One of the design principle is that you should have things align in your whole project. Gimp will give you a hand with the exact pixels. Drag down (starting from the left ruler) a guide to the X coordinate you want.Drag down (starting from the top ruler) a guide to the Y coordinate you want.Repeat the procedure for another horizontal or vertical Guide (you can also do more guides to specify width and height)Īlternatively, you can also create the guides dragging from the rulers:.Specify if you want and horizontal or vertical guide. Anyway, the best (correct) approach is with guides: It is simply not the appropriate way of aligning elements when you are designing, though I recognize that sometimes it is useful as a short-cut. I am afraid that Gimp doesn't include it because it is tedious.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |