It is currently Tue Nov 24, 2026 11:57 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: [Help Request] Antialias
PostPosted: Thu Oct 25, 2012 12:03 pm  (#1) 
Offline
New Member

Joined: Oct 25, 2012
Posts: 3
GIMP Version: 2.6.11
Operating System: Windows
OS Version: Windows 7
GIMP Experience: Beginner Level



Hello, I did a search and was not able to find this, so my apologies if this has been asked, and answered.

I am attempting to change the text of gif button, but when I add the new text back in, it's not aliased.

What I did was open the button gif file, then filled previous text (and the antialias) with a solid color. When I add text back on (it's Arial Bold, 10pt) the text matches the previous text. (It created a new layer, with just my text). The new text color is set to charcoal. Hinting and Antialias are checked.

When I save the image to a gif, I tell it to flatten the layers, but the text is just a blob of color. It didn't alias the text with the background.


If I uncheck the antialias box, the text is saved crisp, and looks out of place.
If I uncheck the hinting box, it's even more crisp.

I attempted to Layer -> Transparancy -> Alpha to Selection, but it doesn't seem to have done anything. It selected my text, but didn't do anything with it.

Any help would be appreciated.


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: [Help Request] Antialias
PostPosted: Thu Oct 25, 2012 4:51 pm  (#2) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
The GIF format doesn't support partial transparency, so you can't use that for anti-aliasing. You have to use Layer/Transparency/Semi-flatten to turn the partially transparent anti-aliasing pixels into fully opaque pixels filled with the right color mix between your object color and the current background color. Of course, this means that your image will only correctly blend in a background of said color...

You can also use the PNG format instead of GIF....

_________________
Image


Top
 Post subject: Re: [Help Request] Antialias
PostPosted: Thu Oct 25, 2012 6:06 pm  (#3) 
Offline
New Member

Joined: Oct 25, 2012
Posts: 3
I tried as PNG. No luck.

It seems to me that aliasing should be visible on the screen. If I flatten, or merge, or etc... I would imagine that I need to first see what it did, then it can save it in a file type.

I see nothing on screen that appears to be the way I am thinking it should.

The letters are crisp, or they are all blocky (as if alias has happened to those additional pixels, but it's not working with the background, just adds more charcoal).

Jeremy


Top
 Post subject: Re: [Help Request] Antialias
PostPosted: Thu Oct 25, 2012 7:11 pm  (#4) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5248
Location: Gimpville
Remember to change the mode of the GIF from indexed to RGB. (image/mode/rgb) before you add new text. Then, export as PNG..

If you must save your image as a GIF, check out this thread. It has a nice explanation of semi-flattening.

http://www.gimpchat.com/viewtopic.php?f=23&t=214

_________________
Image


Top
 Post subject: Re: [Help Request] Antialias
PostPosted: Thu Oct 25, 2012 9:11 pm  (#5) 
Offline
New Member

Joined: Oct 25, 2012
Posts: 3
Hey. Thank you!

Just switching it to RBG gave me what I was missing. When I did that, the aliasing, and all the properties started working. Thank you!

When I flatten the image into a gif, it looks exactly as it should.


Top
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


cron

* Login  



Powered by phpBB3 © phpBB Group