It is currently Mon Sep 21, 2026 9:21 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Replace Color In All Layers
PostPosted: Fri Sep 30, 2016 11:11 pm  (#1) 
Offline
Former Member
User avatar

Joined: Nov 17, 2010
Posts: 618
Location: Rockford, IL
GIMP Version: 2.8.14
Operating System: Mac OS
OS Version: 10.10.5
GIMP Experience: Experienced User



So here's the deal I want to replace the white background (which is either #fff or #fcfcfc) with the color #eceeef.

I'm running on a new Mac and still haven't figured out how to install GAP. Is there a script to do this that doesn't include GAP?

Any help is greatly appreciated. Thanks!


Attachments:
7cupscursiveintro.gif
7cupscursiveintro.gif [ 27.63 KiB | Viewed 12163 times ]
Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Replace Color In All Layers
PostPosted: Sat Oct 01, 2016 12:49 am  (#2) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 14206
Location: Native to NYC living in Arizona, Gimp 2.8 - 3.0, Win 11 PC.
mikethedj4 wrote:
GIMP Version: 2.8.14
Operating System: Mac OS
OS Version: 10.10.5
GIMP Experience: Experienced User



So here's the deal I want to replace the white background (which is either #fff or #fcfcfc) with the color #eceeef.

I'm running on a new Mac and still haven't figured out how to install GAP. Is there a script to do this that doesn't include GAP?

Any help is greatly appreciated. Thanks!

You can use the script sg-combine-bg by saulgoode.
What it does is combine each layer of the image with a copy of the background layer.
Of course you would need to have all layers transparent,
in order for this to be effective.


Image

Attachment:
File comment: sg-combine-bg.scm.zip by saulgoode
sg-combine-bg.zip [1.22 KiB]
Downloaded 396 times

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Replace Color In All Layers
PostPosted: Sat Oct 01, 2016 12:55 am  (#3) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4554
Location: Canada
I looked at your attached .gif
and it Opened in GIMP and it already shows up as Indexed (Image->Mode->Indexed is already ticked).
All you have to do is click on menu Windows->Dockable Dialogs->Colormap
Double click on the last color and change it to any color you like.
And you're done.
Here it is changed.
Attachment:
michael_replaced.gif
michael_replaced.gif [ 27.65 KiB | Viewed 12113 times ]

_________________
Image
Visualize your and others dreams coming true.


Top
 Post subject: Re: Replace Color In All Layers
PostPosted: Sat Oct 01, 2016 1:28 am  (#4) 
Offline
Former Member
User avatar

Joined: Nov 17, 2010
Posts: 618
Location: Rockford, IL
trandoductin wrote:
I looked at your attached .gif
and it Opened in GIMP and it already shows up as Indexed (Image->Mode->Indexed is already ticked).
All you have to do is click on menu Windows->Dockable Dialogs->Colormap
Double click on the last color and change it to any color you like.
And you're done.
Here it is changed.
Attachment:
michael_replaced.gif


haha omg I can't believe I forgot about Colormap lol.

Thanks :)


Top
 Post subject: Re: Replace Color In All Layers
PostPosted: Sat Oct 01, 2016 12:47 pm  (#5) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16173
Hey Mike! Long time no see. Hope all is well. Oh and welcome back. :)
Pretty cool animation also.

_________________
Image


Top
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group