Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reverse transpareny
#1
Probably something very simple but I'm stuck. I have a png file of an arrow. I want the arrow a color and the bg transparent. Currently the arrow in transparent and the bg is color. It seems this should be a simple fix.


Attached Files Thumbnail(s)
   
Reply
#2
In that png, the background is already transparent, but so is the inside of the arrow. Just do a fuzzy select of the inside of the arrow and fill it with a color, if you want to keep the outline, or fuzzy select the outside of the area, then invert the selection and fill with a color
Reply
#3
(03-07-2020, 06:42 PM)mholder Wrote: In that png, the background is already transparent, but so is the inside of the arrow.  Just do a fuzzy select of the inside of the arrow and fill it with a color, if you want to keep the outline, or fuzzy select the outside of the area, then invert the selection and fill with a color

Do you mind walking me through this from the start?

I already have one image layer open..a blank highway sign. Added a couple text layers (street names) Now I want to add a couple of arrows.

When I open arrow as layer it is much larger than what I am already working with

Scaled it to proper size
Reply
#4
If you posted yout Gimp file it would help, but is sounds like the arrow layer needs to be resized.  Either layer->resize layer, or you could use the scale tool in the toolbox

https://www.youtube.com/watch?v=sFJAE-oriQk

The unified transform tool is most versatile
Reply
#5
don't want the arrow outline. grabbed fuzzy select tool, filled outside arrow. BG is color arrow is transparent. How do I invert the colors?

(03-07-2020, 07:05 PM)mholder Wrote: If you posted yout Gimp file it would help, but is sounds like the arrow layer needs to be resized.  Either layer->resize layer, or you could use the scale tool in the toolbox

https://www.youtube.com/watch?v=sFJAE-oriQk

The unified transform tool is most versatile

Current status

(03-07-2020, 07:12 PM)macr8e Wrote: don't want the arrow outline. grabbed fuzzy select tool, filled outside arrow. BG is color arrow is transparent. How do I invert the colors?

(03-07-2020, 07:05 PM)mholder Wrote: If you posted yout Gimp file it would help, but is sounds like the arrow layer needs to be resized.  Either layer->resize layer, or you could use the scale tool in the toolbox

https://www.youtube.com/watch?v=sFJAE-oriQk

The unified transform tool is most versatile

Current status

don't want the arrow outline. grabbed fuzzy select tool, filled outside arrow. BG is color arrow is transparent. How do I invert the colors?


Attached Files
.xcf   NJ Brewway logocopy.xcf (Size: 216.31 KB / Downloads: 173)
Reply
#6
Your arrow looks terrible, scaling that original large image down so much is not a good idea.

My advice since it is such a simple shape,
trace the arrow with the path tool
Select Select -> All and clear the layer Delete
Fill the path with a colour Edit -> Fill Path

something like this https://i.imgur.com/gDPwW5f.mp4

You can use the same path in other parts of the image. All the transform tools (move / scale / rotate...) have a path mode.
Reply
#7
I think you should not invert the colors, but the selection.

I mean, use the fuzzy select tool, select the outside of the arrow, then reverse the selection by going selection->invert

THEN filling it with you foreground color, either by edit->fill with FG color, or even the bucket tool

   

Something like that?

But really, maybe Rich has a better approach.  For something as simple as an arrow, maybe even drawing it with the pencil or paintbrush tool using straight lines with shift or shift+control for certain angles, and then just bucket filling it.

By the way, I like the artwork there
Reply
#8
Thanks guys, wound up using Rich's way but must admit..video was a little fast to follow. Can't add finished product.
Reply


Forum Jump: