[vox-tech] gimp question: layers and resizing

2003-01-20 Thread Peter Jay Salzman
hola,

ok, tonight i made history.  it was the first time i've ever used layers
in my life.

i've got an image that i created (saved as xcf format.  is that correct
if i want to keep the layers intact?) with 7 layers.

i'd like to make the whole image longer.  so:

   Image | Canvas Size | Height (increased it by a bit)

now i'm staring at my original image -- it looks like this:


   --
   |   ||
   |   ||
   |original   ||
   |   ||
   |   ||
   |   ||
   ||
   ||
   ||
   |  checkerboard  |
   ||
   ||
   ||
   --

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.

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.

it appears that my image is indeed larger, but the checkerboard region
looks unusable.  i can't do anything with it.

how can i:

0. make the checkerboard portion white just like the original image.

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.

sorry for the lameness.  :)

pete

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.

pps- the reason i want to do this in the first place is that gimp prints
this image sideways in landscape mode.  i'd like for it to print in
portrait mode, so i want to make the image longer but more narrow by
make the 2x3 array into a 3x2 array.

-- 
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
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



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

2003-01-20 Thread Bill Kendrick
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
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



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

2003-01-20 Thread Bill Kendrick
On Mon, Jan 20, 2003 at 09:06:08AM +, Karsten M. Self wrote:
snip
 
 Create a new layer.  Make it white.  Merge with your existing
 transparent layer (that's what the checkerboard represents), or delete
 the transparent layer.  Or leave it...

There's no transparent layer.  Every single one of his layers now have
transparency.

It's like he was given a sheet of white paper, and then he added some
sheets of cellophane on top of them.

Now he suddenly has a bigger desk to draw on, but none of his cellophane
(or the white paper at the bottom) have been made bigger.


-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



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

2003-01-20 Thread Karsten M. Self
on Mon, Jan 20, 2003 at 12:33:32AM -0800, Peter Jay Salzman ([EMAIL PROTECTED]) wrote:
 hola,
 
 ok, tonight i made history.  it was the first time i've ever used layers
 in my life.
 
 i've got an image that i created (saved as xcf format.  is that correct
 if i want to keep the layers intact?) with 7 layers.
 
 i'd like to make the whole image longer.  so:
 
Image | Canvas Size | Height (increased it by a bit)
 
 now i'm staring at my original image -- it looks like this:
 
 
--
|   ||
|   ||
|original   ||
|   ||
|   ||
|   ||
||
||
||
|  checkerboard  |
||
||
||
--
 
 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.
 
 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.
 
 it appears that my image is indeed larger, but the checkerboard region
 looks unusable.  i can't do anything with it.
 
 how can i:
 
 0. make the checkerboard portion white just like the original image.

Create a new layer.  Make it white.  Merge with your existing
transparent layer (that's what the checkerboard represents), or delete
the transparent layer.  Or leave it...

 1. make a selection of a portion of the original image (which resides on
 a layer).

Activate that layer (in the 'layers' dialog).  Click around, you'll find
it.

Select the portion of the image you want.  Copy or cut it as you want.

 2. move the selection into the checkerboard region without clipping.

Activate the new layer.  Paste.

Check that you don't have the keep trans (preserve transparency)
setting checked on that layer.

Layers rock.

 sorry for the lameness.  :)
 
 pete
 
 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.
 
 pps- the reason i want to do this in the first place is that gimp prints
 this image sideways in landscape mode.  i'd like for it to print in
 portrait mode, so i want to make the image longer but more narrow by
 make the 2x3 array into a 3x2 array.

$ mogrify -rotate 90 foo.gif

...is another option.

-- 
Karsten M. Self [EMAIL PROTECTED]http://kmself.home.netcom.com/
 What Part of Gestalt don't you understand?
The truth behind the H-1B indentured servant scam:
http://heather.cs.ucdavis.edu/itaa.real.html
http://www.zazona.com/ShameH1B/
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



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

2003-01-20 Thread Peter Jay Salzman
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 [EMAIL PROTECTED] 
 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 

[OT] fixing posting woes Re: [vox-tech] gimp question: layers and resizing

2003-01-20 Thread Jim
test.  Please ignore
- Original Message - 
From: Peter Jay Salzman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 20, 2003 1:48 AM
Subject: Re: [vox-tech] gimp question: layers and resizing


 aha.
 
 when you resize an image, it doesn't resize the layers of that image.
 that's why the selection was clipped.  layer to imagesize resizes
 the layer.
 
 is that about right?
 
 thanks karsten!
 pete
 ___
 vox-tech mailing list
 [EMAIL PROTECTED]
 http://lists.lugod.org/mailman/listinfo/vox-tech
 
 


___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



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

2003-01-20 Thread Karsten M. Self
on Mon, Jan 20, 2003 at 01:50:09AM -0800, Bill Kendrick ([EMAIL PROTECTED]) wrote:
 On Mon, Jan 20, 2003 at 09:06:08AM +, Karsten M. Self wrote:
 snip
  
  Create a new layer.  Make it white.  Merge with your existing
  transparent layer (that's what the checkerboard represents), or delete
  the transparent layer.  Or leave it...
 
 There's no transparent layer.  Every single one of his layers now have
 transparency.

I realized that when I looked at the image itself.  My point (as you
explained in another post) was that, if there is transparency in all
layers, then the portion of the image corresponding to a transparent
region in *all* layers will be transparent.

Adding a white layer to the bottom of the stack will make the image
opaque.

 It's like he was given a sheet of white paper, and then he added some
 sheets of cellophane on top of them.
 
 Now he suddenly has a bigger desk to draw on, but none of his cellophane
 (or the white paper at the bottom) have been made bigger.

Right.  Your resize layer to canvas trick was one I hadn't been aware
of.  I learned something.

Peace.

-- 
Karsten M. Self [EMAIL PROTECTED]http://kmself.home.netcom.com/
 What Part of Gestalt don't you understand?
   Geek for hire:  http://kmself.home.netcom.com/resume.html
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



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

2003-01-20 Thread Ken Bloom
 ---ORIGINAL MESSAGE--- 
 Date: Mon, 20 Jan 2003 01:48:33 -0800
 To: [EMAIL PROTECTED]
 Subject: Re: [vox-tech] gimp question: layers and resizing
 From: Peter Jay Salzman [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 
 aha.
 
 when you resize an image, it doesn't resize the layers of that image.
 that's why the selection was clipped.  layer to imagesize resizes
 the layer.
 
 is that about right?
 
 thanks karsten!
 pete
 

No. Each pixel stores 3 bytes of color information and one byte of 
transparency information. When you resize the canvas to make it larger, 
all of the new pixels are transparent (except on the background layer 
if one is present). The option Keep Trans option makes the GIMP's 
tools (all of them) modify only the color information. When Keep Trans 
is unchecked, the tools will operate on color information and 
transparency information. (Photoshop has a similar feature.)

-- 
PGP/GPG Fingerprint: D5E2 8839 6ED3 3305 805C  941F 9476 A9BD E2B2 CAD1
Import with `gpg --keyserver pgp.mit.edu --recv-key E2B2CAD1`
Also on www: http://wwwcsif.cs.ucdavis.edu/~bloom/kabloom.asc
For more information about PGP and GPG, see http://www.gnupg.org/



msg04103/pgp0.pgp
Description: PGP signature


[vox-tech] gimp question

2002-11-12 Thread Peter Jay Salzman
i have the misfortune of wanting to print a webpage with a black
background.  ain't no way i'm going to print this thing.  laser toner is
just too expensive.

so i saved a copy of the page along with the images and modified the
BODY tag.

then i find out the gif transparent images (which contain important
information) use white font which was viewable with a black background,
but non-viewable under a white background.   so now i need a way to
convert white (very thin) lettering within a transparent image to black.

this is unbelievable.

i have no idea how to do this.  i tried the gradient tool (i was hoping
to make a gradient go from black to black and only colour the white
font) but that didn't work.  also, the bucket doesn't work because the
lettering is too thin.

the way the image is set up, it really must be transparent.  i just need
to change the font color from white to black.

pete

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



Re: [vox-tech] gimp question

2002-11-12 Thread Bill Kendrick
On Tue, Nov 12, 2002 at 09:30:51PM -0800, Peter Jay Salzman wrote:
snip 
 the way the image is set up, it really must be transparent.  i just need
 to change the font color from white to black.

Load in The GIMP.
Set black to be your 'background' color in The Gimp.
(easiest way is to click the Black-n-White icon next to the color selectors
in the Toolbar, and then click the Swap (double-headed-bent-arrow) icon
next to the color selectors in the Toolbar).

Right-click the canvas.  Select Layers then choose Flatten Image

You'll convert the transparent to black.

Good luck!

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



[vox-tech] gimp question

2002-01-23 Thread Peter Jay Salzman

is there a way to define a short cut or macro with gimp?

i use the enhance filter alot, for when i resize pictures.  is there a
way to map, say, control-E to this filter?

also, is there a way to make gimp show more of the image when you're
using the enhance filter?  it shows a very small portion.  hard to
believe anyone would find the little tiny portion of the upper left hand
corner useful when figuring out how much to sharpen the image by.

pete

-- 
The mathematics [of physics] has become ever more abstract, rather than more
complicated.  The mind of God appears to be abstract but not complicated.
He also appears to like group theory.  --  Tony Zee's `Fearful Symmetry'

PGP Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] gimp question

2002-01-23 Thread nbs

On Wed, Jan 23, 2002 at 11:39:45AM -0800, Peter Jay Salzman wrote:
 is there a way to define a short cut or macro with gimp?
 
 i use the enhance filter alot, for when i resize pictures.  is there a
 way to map, say, control-E to this filter?

Open the menu with that command, place the mouse over it, and press
the key combo. you want mapped to it.  You'll see the menu change,
right before your eyes! :)

This is a fairly standard GTK-ism, by the way.


Another thing you can do is pop the menu open into its own window.

Get to the menu you want and then click the little dashed line which
appears at the top of the menu.

Voila!  The menu will appear in it's own real window, which will remain
open until you specifically close it (either with a window manager close
(eg, the X button at the top left or top right, depending on the
manager and theme chosen), or click the dashed line at the top of the
menu in its window).


 also, is there a way to make gimp show more of the image when you're
 using the enhance filter?  it shows a very small portion.  hard to
 believe anyone would find the little tiny portion of the upper left hand
 corner useful when figuring out how much to sharpen the image by.


Sharpen, for example, doesn't appear to have any way to 'zoom out'...
you're stuck previewing your enhancement at a 1:1 (100%) zoom.

But, there ARE scrollbars, so you'll be able to pan around and see
what various pars of the image will look like.


I do admit it is quite silly that, while you CAN resize the Sharpen
dialog window, the preview doesn't expand to fit. :^(


-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] gimp question

2002-01-23 Thread nbs

On Wed, Jan 23, 2002 at 11:45:35AM -0800, nbs wrote:
snip
 
 Another thing you can do is pop the menu open into its own window.
 
 Get to the menu you want and then click the little dashed line which
 appears at the top of the menu.
snip


BTW, this is a GTK+-ism, as well.  Qt has a similar feature, as well,
as do some other, older GUI toolkits.  (I forget which, though...
they often have a 'thumbtack' ('pushpin') icon at the top of the menu)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech