Post Reply 

Help with canvas fitting layer

Apr 13, 2011, 18:10
Post: #1
Help with canvas fitting layer
Hey guys I have a quick question. I am trying to create an oval image for a button on a webpage. I make the canvas size about 90x40 and then select the ellipse tool and fill the canvas with it. I then bucket fill the circle/oval with a green color. How do I knock the rest of the white corners out of the image? I only want to green oval to be the final jpg. Thank you in advance.
Find all posts by this user
Quote this message in a reply
Apr 13, 2011, 19:07
Post: #2
RE: Help with canvas fitting layer
After you fill in the green color, go to Colors -> Color to Alpha... The default color is white and should work okay. In the preview window the white corners should now be the transparent checkerboard pattern. Click on OK and the white corners should be gone.

Now the key part. You can't save the image as a jpg. The jpeg format doesn't support transparency. You'll need to save it as either a gif or png to preserve the transparent corners.

[Image: viragogimpforumssig.png]
Find all posts by this user
Quote this message in a reply
Apr 13, 2011, 19:10
Post: #3
RE: Help with canvas fitting layer
- add an alpha channel to your layer (Layer>Transparency>Add alpha channel: if it's greyed out, the alpha channel is already here)
- Ellipse tool/bucket fill as already done
- invert the selection
- "delete" key, the corners will be replaced by the default canvas checkerboard pattern, indicating that the picture is transparent.
- save in a format that supports transparency, which means not JPEG. PNG is the format of choice for this kind of things.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Sizing photo to layer gshacte 1 70 Nov 8, 2017 19:27
Last Post: ythgilb
  Transforming a selection on a layer pdev 1 162 Aug 8, 2017 05:07
Last Post: ythgilb
  Pasting on blank canvas Wynn Jones 1 185 Jul 24, 2017 06:13
Last Post: ythgilb
  Layer-mask opacity effects not clear veek 2 251 Jun 3, 2017 04:29
Last Post: veek
  Tablet input offset on canvas king_lem 1 229 May 29, 2017 18:41
Last Post: blighty

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS