LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-23-2004, 03:40 PM   #1
apokryphos
Member
 
Registered: Jun 2004
Distribution: openSUSE Factory
Posts: 96

Rep: Reputation: 15
Gimp and transparent GIFs


All in all, I've found the GIMP to be pretty amiable and reasonable for all the things I've wanted to do.

But, I'm having one problem with it: when I create text with a transparent background (it looks perfectly fine on the GIMP), but once I put the image into use (I'm using it on my website, and it's text with a transparent background that goes over an image) the text automatically becomes real fuzzy around the edges, and the text, consequently, looks pretty ugly. It seems to do this with all fonts.

Anyone have any idea to get around this -- or, any other particular way to do it? Any help would be greatly appreciated.
 
Old 09-23-2004, 04:38 PM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
This is caused by using antialiased fonts, which blur the edges to make the corners look rounder and the text more readable.

The problem is that GIF only allows you to use one colour as fully transparent, and so it assumes a default background colour to blur against.

The worst solution is to turn off antialiasing; the text may look blocky but should at least be sharp-edged.

A better solution is to use a better file format, like PNG (Portable Network Format, supported on all graphical web browsers that I've come across), that allows an alpha channel, meaning that the blending of the edges of the text can be done more gradually.

The best solution would be to use a vector format that specifies the text as text; unfortunately there aren't many of these (HTML with CSS works quite well but overlapping elements, in particular, tend not to always work as expected across browsers).
 
Old 09-24-2004, 07:18 AM   #3
apokryphos
Member
 
Registered: Jun 2004
Distribution: openSUSE Factory
Posts: 96

Original Poster
Rep: Reputation: 15
Thanks! That worked nice; png transparency is cool. However, I was under the impression that IE doesn't support png format for images. I can't really test it at the mo... since I'm using firefox. But have IE changed, or something?
 
Old 09-24-2004, 09:46 AM   #4
dave_starsky
Member
 
Registered: Oct 2003
Location: UK, Manchester
Distribution: Gentoo (2.6.10-r4) & Ubuntu
Posts: 145

Rep: Reputation: 16
As far as I am aware they have always been able to display PNG images, and if not, then they definitely can now.
 
Old 09-24-2004, 11:51 AM   #5
apokryphos
Member
 
Registered: Jun 2004
Distribution: openSUSE Factory
Posts: 96

Original Poster
Rep: Reputation: 15
Actually, by all indications everywhere, it seems that Internet Explorer still does not support PNG transparencies and the like. Really quite annoying, but what to do...
 
Old 09-24-2004, 12:03 PM   #6
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Quote:
Originally posted by apokryphos
Actually, by all indications everywhere, it seems that Internet Explorer still does not support PNG transparencies and the like. Really quite annoying, but what to do...
i think if you use the latest version of internet explorer the PNG support is okay (including alpha channel, etc.)... there have been many "issues" with PNG support on internet explorer before, but i'd imagine they fixed them by now... of course i'm not sure about this...

http://www.petitiononline.com/msiepng/petition.html

http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html

http://www.google.com/search?hl=en&l...om&btnG=Search
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Merging gifs into printable file jackassjim Linux - Software 2 03-28-2005 01:51 PM
Animated gifs under linux help tuxfood Linux - Software 7 07-17-2004 01:18 AM
Gimp transparent question BmxFace Linux - Software 4 08-09-2003 03:23 PM
GIMP + painting white transparent C++freak Linux - Software 2 07-23-2003 05:46 PM
Burn all gifs !!!! use png ? nikhiljosh General 11 03-11-2002 04:51 PM


All times are GMT -5. The time now is 10:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration