Text color change

ForumsFor GIMP developers (read-only) ► Text color change

Sent: 2010-03-16 03:52:34 UTC (almost 2 years ago)

From: Thales img

Text color change

Is there any way to change the color of part of a text? Like this:
This wordis red
I'm asking 'cause if there isn't an easy way is something to think about.

Thanks,

Thales

*(Sorry if I sent it before)*

--
Thales Oliveira - Img Brasil
+55 31 (8365 3869 - 3309 8760)

_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Sent: 2010-03-17 19:10:37 UTC (almost 2 years ago)

From: Akkana Peck

Text color change

Thales img writes:
> Is there any way to change the color of part of a text? Like this:
> This wordis red
> I'm asking 'cause if there isn't an easy way is something to think about.

Probably the easiest way is to use bucket fill and click on each
of the letters. Note that that will change the layer into a graphics
layer and lose the special text information, like font and size.

A more elaborate, but more flexible, way, is to make a new layer
on top of your text layer. Make a selection in that layer covering
whatever part of the text you want in a different color (e.g. a
rectangle covering only that word). Fill the rectangle with your
desired color. Then, in the Layers dialog, set the mode of the
new layer to Lighten Only. If your text was black, that will turn
the word your desired color. If you started with a different color
of text, you might need a different layer mode (experiment with all
of them).

Depending on your background color, this might also change some of
the background around the text, but there are some ways to get arond
that. "Merge down" on the layer will merge it only with the text layer
below it, or you could use the text layer as a mask to mask off
everything but text in the color layer. The best approach depends
on exactly what effect you're trying to achieve and what colors
are involved.

...Akkana

_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Sent: 2010-03-17 20:34:41 UTC (almost 2 years ago)

From: Sven Neumann

Text color change

On Wed, 2010-03-17 at 11:10 -0700, Akkana Peck wrote:
> Thales img writes:
> > Is there any way to change the color of part of a text? Like this:
> > This wordis red
> > I'm asking 'cause if there isn't an easy way is something to think about.
>
> Probably the easiest way is to use bucket fill and click on each
> of the letters. Note that that will change the layer into a graphics
> layer and lose the special text information, like font and size.
>
> A more elaborate, but more flexible, way, is to make a new layer
> on top of your text layer. Make a selection in that layer covering
> whatever part of the text you want in a different color (e.g. a
> rectangle covering only that word). Fill the rectangle with your
> desired color. Then, in the Layers dialog, set the mode of the
> new layer to Lighten Only. If your text was black, that will turn
> the word your desired color. If you started with a different color
> of text, you might need a different layer mode (experiment with all
> of them).

As far as I can see GtkTextTag has properties for color, so it shouldn't
be too difficult to extend the support for text styles in git master so
that it also supports changing the text color on a per-glyph basis.

Sven

_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Sent: 2010-03-17 20:58:11 UTC (almost 2 years ago)

From: Thales img

Text color change

Thank you so much for your attention Akkana, the point is I'm able to change
the color, I'm just looking if there is an easiest way. Like we now can do
with Bold, Italic, etc.

Sven, thanks for the reply too, I don't no anything about technicals
details, but thanks anyway.

Thales

--
Thales Oliveira - Img Brasil
+55 31 (8365 3869 - 3309 8760)

_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Sent: 2010-03-17 21:33:28 UTC (almost 2 years ago)

From: Sven Neumann

Text color change

On Wed, 2010-03-17 at 16:58 -0300, Thales img wrote:
> Thank you so much for your attention Akkana, the point is I'm able to
> change the color, I'm just looking if there is an easiest way. Like we
> now can do with Bold, Italic, etc.
>
> Sven, thanks for the reply too, I don't no anything about technicals
> details, but thanks anyway.

Then please ask on the gimp-user mailing-list. This list is for
technical discussions and your question would have been more appropriate
on gimp-user.

Thanks,
Sven

_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Sent: 2010-03-17 23:08:03 UTC (almost 2 years ago)

From: Thales img

Text color change

Easy man, easy, I asked here 'cause if it wouldn't possible change the color
it would be a suggestion for whose that develop.

Thanks anyway, sorry if it wasn't a good idea,

Thales

On Wed, Mar 17, 2010 at 5:33 PM, Sven Neumann wrote:

> On Wed, 2010-03-17 at 16:58 -0300, Thales img wrote:
> > Thank you so much for your attention Akkana, the point is I'm able to
> > change the color, I'm just looking if there is an easiest way. Like we
> > now can do with Bold, Italic, etc.
> >
> > Sven, thanks for the reply too, I don't no anything about technicals
> > details, but thanks anyway.
>
> Then please ask on the gimp-user mailing-list. This list is for
> technical discussions and your question would have been more appropriate
> on gimp-user.
>
>
> Thanks,
> Sven
>
>
>

--
Thales Oliveira - Img Brasil
+55 31 (8365 3869 - 3309 8760)

_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Welcome!


Lost password?

Not a member? Sign up!

Random tutorials | Latest tutorials

  1. Creating a simple Company Logo Creating a simple Company Logo 24
  2. Smoke and Flames Smoke and Flames 21
  3. Creating a bloody splatter texture Creating a bloody splatter texture 36
  4. Create sparkle on any object! Create sparkle on any object! 25

Latest comments

2.6.12 crashes on startup in windows xp. 2.6.11 works fine. (2 days ago in Last stable 2.6 release: 2.6.12 has arrived)

Thank you! You really helped! The tutorial went great for me! Tha... (5 days ago in [AVATAR] Become a real Na'Vi using GIMP!)

maybe you still selected a channel or so? explicitly click a layer ... (5 days ago in Create cool rifts with translucent lights!)

Poll

Is GIMP an adequate application for you to create printed graphics like flyers, advertisments etc?

Latest forum activities

Your Ad Here

facts & numbers

gimpusers.com RSS feed

48 identi.ca followers
748 Twitter followers

powered by bitfire it services