Post Reply 

having trouble editing an image

Apr 18, 2011, 02:03 (This post was last modified: Apr 18, 2011 02:13 by create90212.)
Post: #1
having trouble editing an image
hi guys
I don't know much about gimp. I can do simple stuff, but i am having trouble editing a picture for some reason.
I downloaded this free template at
h**p://www.templatescreme.com/free-website-grand-host

if you look in the images folder, there is a picture called nav-left1.gif

I am trying to make everything that is orange, blue.
I have edited pictures thousands of times, but this one, the color wont change. its like someone locked it to stay orange.
can you take a look and tell me whats going on? how can i unlock it? thanks

edit: I just attached the picture, didnt know you can attach files here.


Attached File(s) Image(s)
   
Find all posts by this user
Quote this message in a reply
Apr 18, 2011, 03:15
Post: #2
RE: having trouble editing an image
Without knowing exactly how you were trying to edit the image its kind of hard to say exactly, but I'm going to go out on a limb here and guess that its because you're staying in indexed mode. Gif files don't use the whole array of 16.7 million colors that most other images use. They have what is called an indexed palette, meaning that there are 256 slots for different colors. You can pick any color you want for each slot, but then you are limited to those colors and no others. Your image has a palette that is full of different shades of orange and no blue at all.

To edit your gif image try opening it, then go to Image>Mode, and select RGB. Now you should be able to edit the colors as you like. Select a brush and set the foreground color to whatever shade of blue you like. Now change the brushes mode from Normal to Hue. Paint over the image and it should change from orange to blue but still keep the shadings of light and dark.

Now, when you want to save it you can go two ways. You can save it as a PNG, which means you won't have to worry about color palettes. Or, if it really needs to be a Gif for some reason, simply go back to Image>Mode and change it back to Indexed. Check "Generate optimum palette" and select 256 as the maximum number of colors. Then save it as normal and you should be all set!
   

[Image: viragogimpforumssig.png]
Find all posts by this user
Quote this message in a reply
Apr 18, 2011, 04:46
Post: #3
RE: having trouble editing an image
(Apr 18, 2011 03:15)Virago Wrote:  Without knowing exactly how you were trying to edit the image its kind of hard to say exactly, but I'm going to go out on a limb here and guess that its because you're staying in indexed mode. Gif files don't use the whole array of 16.7 million colors that most other images use. They have what is called an indexed palette, meaning that there are 256 slots for different colors. You can pick any color you want for each slot, but then you are limited to those colors and no others. Your image has a palette that is full of different shades of orange and no blue at all.

To edit your gif image try opening it, then go to Image>Mode, and select RGB. Now you should be able to edit the colors as you like. Select a brush and set the foreground color to whatever shade of blue you like. Now change the brushes mode from Normal to Hue. Paint over the image and it should change from orange to blue but still keep the shadings of light and dark.

Now, when you want to save it you can go two ways. You can save it as a PNG, which means you won't have to worry about color palettes. Or, if it really needs to be a Gif for some reason, simply go back to Image>Mode and change it back to Indexed. Check "Generate optimum palette" and select 256 as the maximum number of colors. Then save it as normal and you should be all set!

hi
thanks for the help. I did exactly what you said and I got the same result as you. the only problem is, I selected the color 091b4e (which is dark blue) for my blue, but my blue came out exactly like yours (light blue).
Find all posts by this user
Quote this message in a reply
Apr 19, 2011, 01:02
Post: #4
RE: having trouble editing an image
(Apr 18, 2011 19:58)ofnuts Wrote:  The hue mode only transfers the hue, so if you want a color that has, in HSV, besides a different hue, a different saturation or value, things are a bit different. "Color" mode transfers hue and saturation and leaves the value alone. If you want to change the value as well, playing with brush modes won't help much because the painting has to be very accurate (the "value" channel is where all the detail is), so a pre-selection is in order, and once you have that you can as well bucket-fill.

Yeah, I'm still working on understanding the whole HSV thing. I thought I had it working until I tried changing the shade of blue. I tried Color mode, Saturation Mode, and just about all the other modes as well.

(Apr 18, 2011 19:58)ofnuts Wrote:  Another solution would be to add a new layer below with the target blue color, and use color-to-alpha and color picking the orange to make current orange areas transparent. But color-to-alpha may be a bit blunt...

I just tried this and couldn't get it to work right. I was getting some strange colors that weren't even close to the blue I was aiming for. I originally tried a variant of this using a layer mask derived from an inverted gray-scale version of the original layer. It always seemed to make the blue color much lighter than what I intended.

(Apr 18, 2011 19:58)ofnuts Wrote:  PS: Both images above do not display as links for me...

That's because they aren't links, they're the full size images. Guessing from the file name I'm assuming that it is the left end cap of a web site navigation bar. I've been working on these at about 500% just to get it to were I could see what I was doing.

So, I guess I get about half a cookie for figuring out to change from palette to RGB mode in the first place. But is there any way to change the color of this to the specific blue that create90212 was looking for (091b4e) while still keeping the gradient intact?

[Image: viragogimpforumssig.png]
Find all posts by this user
Quote this message in a reply
Apr 19, 2011, 13:50
Post: #5
RE: having trouble editing an image
(Apr 19, 2011 08:53)ofnuts Wrote:  Of course not... because we have a gradient with 3 colors, and we need 3 colors for a replacement...

I suppose somewhere in the back of my mind I knew that, I just didn't want to admit it. After seeing what you did with Hue and Saturation modes in that other thread with the fish, I was just looking for a magic wand to wave over the image. Maybe I should submit that as a feature request for a future version, but I guess we're just not there yet. Smile

Thanks for all of your help on this Ofnuts, it is greatly appreciated!

And Create90212, I hope this answers all your questions and gives you the info you need to design your image the way you wanted it.

[Image: viragogimpforumssig.png]
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Delete the characters in the image Adamlevine 1 105 Today 05:22
Last Post: ythgilb
  How to add a magnification segment of an image to the original size image fenpeppertree 1 114 Nov 7, 2017 17:05
Last Post: paynekj
  removing unwanted portions of selected area in an image pizzipie 1 125 Nov 2, 2017 05:31
Last Post: paynekj
  Recolor image and maintain detail awesley 1 150 Oct 29, 2017 16:48
Last Post: paynekj
  XCF Thumbnail/Preview Image DailyLunatic 4 4,009 Oct 23, 2017 11:46
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS