1

I have a logo which is skewed and would like to skew the background to match without further skewing the logo. enter image description here The image on the left is what I currently have, the skewed rounded rectangle with the box inside represent the logo. On the right is what I need with the lighter gray representing transparency.

In addition, the background should also get a border radius to match the logo border radius. So I would end up with the following:

enter image description here

How can I add transparency to the background in such a way to achieve this result using Gimp? I thought of adding a transparent layer and skewing the first layer but that would result in the already skewed logo inside becoming more skewed. I just want the angle of the background to match the logo.

New contributor
Stack Underflow is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
2
  • 1
    Honestly the current logo doesn't look good, the lines are already pixelated and the round shapes don't look regular. It is also likely too small. You can do better in Gimp, but the right tool for this is Inkscape (Inkscape creates vector graphics, these can be rescaled at will without quality loss).
    – xenoid
    Aug 5 at 0:08
  • Do you also want to make visible all the background details which are now covered by the main object but which must show up when the background is skewed? A trick which does it would be especially valuable at least if the image has only a single layer.
    – user287001
    Aug 5 at 14:25

1 Answer 1

0

Don't try to skew the background, just recreate it.

  • Erase most of the background around the existing skewed rectangle (no need to be too accurate)
  • Using the Rectangle select, create a rectangle selection mask with rounded corners:

enter image description here

  • Then use the Shear tool in "Transform:Selection" mode (this is the red square icon in the "Transform" line) to skew the selection mask:

enter image description here

  • Then add a layer and bucket-fill the selection wit the color of the curent background

enter image description here

  • Move the layer under your initial layer

Your Answer

Stack Underflow is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.