l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
November 4: Social gathering
Next Installfest:
TBD
Latest News:
Oct. 24: LUGOD election season has begun!
Page last updated:
2003 Jan 20 13:26

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] gimp question: layers and resizing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] gimp question: layers and resizing



w00t!

worked like a charm, and i really learned a lot from this little
exercise.  could've done it as a 1 layer thing, but i wanted to learn
what layers were all about.  thanks!  i understand everything you said.

one last question -- i can see working with layers can be pretty
tedious.  is it possible to perform operations on all layers at once?

for instance, suppose i wanted the entire image to be shifted right by a
certain amount.

right now what i would do is enable grids and go through each layer,
selecting and dragging.

is it possible to select a portion of the image and have the selection
include multiple layers?

i think i understand that the cellophane analogy too.  you look
"through" each layer, starting with the top layer and ending with the
bottom layer.  that's why you want the white background as the bottom
layer, otherwise it'll cover up any layer underneath it.

thanks bill, this is great!

pete

ps- i thought of one more question.  i just realized that if i use fonts
in an image, it can be the case that a month from now if i want to add
more lettering, i'll completely forget the font name and size of the
font i originally used.

is it possible to add comments to an image so i can document this kind
of stuff?



begin Bill Kendrick <nbs@sonic.net> 
> On Mon, Jan 20, 2003 at 12:33:32AM -0800, Peter Jay Salzman wrote:
> <snip>
> > i've got an image that i created (saved as xcf format.  is that correct
> > if i want to keep the layers intact?)
> 
> Yes.  XCF is Gimp's native format.  It stores all layers, alpha levels,
> selections (did you know you can have more than one? :^) ), paths, etc.
> 
> 
> <snip>
> > 
> > i'd like to make the whole image longer.  so:
> > 
> >    Image | Canvas Size | Height (increased it by a bit)
> > 
> <snip>
> > 
> > the original image is white with some graphics in it that i'd like to
> > move into the checkerboard portion.  the checkerboard region is ...
> > well, a grey checkerboard.  i don't know how else to describe it.  it's
> > wierd.
> 
> Your image is larger, but the layers are all still the original size.
> 
> The easiest fix is to right-click the canvas and select
> 'Layer to Image Size' from the 'Layers' submenu.
> 
> You'll need to do this to each layer.
> 
> Notice when you do this that the 'outline of the current layer'
> (the black-and-yellow dashed line) will grow to the size of the canvas. :^)
> 
> 
> Now, you'll still have 'checkerboard' in the parts outside the image,
> but that's simply where that part of your layer(s) are transparent.
> 
> Once you've resized the layer(s) you need to resize...
> 
> > i'd like to move parts of my original image into the checkerboard
> > region, but when i move the selection, the image selection is "clipped"
> > by the boarder between the original section and checkerboard.
> 
> ...this won't happen any more. :^)
> 
> 
> <snip> 
> > 0. make the checkerboard portion "white" just like the original image.
> 
> Create a new layer, tell Gimp to fill it in with white, and then make
> sure it gets moved down to the very bottom position in the
> "Layers, Channels & Paths" dialog.
> 
> 
> > 1. make a selection of a portion of the original image (which resides on
> > a layer).
> > 
> > 2. move the selection into the checkerboard region without clipping.
> 
> See above. (Make the layer itself the same size as the image... or
> simply bigger, if you feel like messing with the "Layer Boundary Size"
> option.  (Right-click the layer icon int he "Layers, Channels & Paths"
> dialog, and select 'Layer Boundary Size' and go from there.)
> 
> 
> > sorry for the lameness.  :)
> 
> No problem.  Gimp is a big, complicated beast.  Fun, though, once you get
> used to it. :^)
> 
> 
> > ps- i placed a copy of this image in www.dirac.org/p/7b9.xcf if anyone
> > wants to take a look at what i'm talking about.
> <snip>
> 
> Looking at this, the other thing you can do is literally move the
> position of the layers around.  Since each 'object' (or set of objects)
> in your image are on their own layers, you can move them around using
> the 'Move' tool.  (Looks like an arrow-headed "+" shape in the toolbox.)
> 
> With no selection active (hit Shift+Ctrl+A to 'Select None' to be sure),
> choose a layer in the "Layers, Channels & Paths" dialog window, and then
> go into the image window and click and drag using the 'Move' tool.
> 
> The entire contents of the layer will move (and you'll notice when you
> let go of the layer, the yellow-and-black outline will have been moved,
> as well).
> 
> Unfortunately, all of your layers are a bit bigger than the actual
> drawing inside them, so once you've moved them, you'll want to reshape them
> so that they don't extend outside the shape of the canvas itself.  e.g.:
> 
>   ---------------
>   |             | <- canvas
>   |             |
>   |  =-=-=-=-=-=-=-=-=
>   |  |          |    |
>   |  M          |    M
>   |  |          |    |
>   |  M          |    M
>   |--|-----------    |  <- layer
>      M               M
>      =-=-=-=-=-=-=-=-=
> 
> You can just do the 'Layer to Image Size' trick above.
> 
> 
> Note: When you move layers around, you can actually move multiple layers
> at once.  If you click the blank space to the left of a layer's icon
> (and to the right of the 'visible or not' eyeball symbol) in
> the "Layers, Channels and Paths" dialog, a little arrow-headed "+" symbol
> will appear.
> 
> You can 'anchor' a number of layers, and then when you move one of them
> (with the 'Move' tool), or another unanchored layer, all of them will move
> together. :^)
> 
> -bill!
> 
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

-- 
First they ignore you, then they laugh at you, then they fight you,
then you win. -- Gandhi, being prophetic about Linux.

Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.